Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01179/0.01179, allocations: 96.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 197.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 55.91 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 46.61 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.3201/0.4379, allocations: 7.905 MB / 381.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.4485, allocations: 2.631 MB / 383.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.4516, allocations: 23.5 kB / 383.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.4552, allocations: 0.4964 MB / 384.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00321/0.4585, allocations: 396.7 kB / 384.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4595, allocations: 223.1 kB / 384.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.4624, allocations: 1.232 MB / 386.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.4637, allocations: 0.5247 MB / 386.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.4652, allocations: 483.9 kB / 387.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.4663, allocations: 0.5176 MB / 387.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.4666, allocations: 114.4 kB / 387.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.4672, allocations: 156.4 kB / 387.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.4675, allocations: 237.3 kB / 388.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.4682, allocations: 0.5605 MB / 388.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.4711, allocations: 1.466 MB / 390.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4711, allocations: 0 / 390.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4711, allocations: 0 / 390.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.4712, allocations: 0.5156 kB / 390.1 MB, free: 4.793 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002689/0.4739, allocations: 1.344 MB / 391.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.4739, allocations: 9.812 kB / 391.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.4747, allocations: 154.9 kB / 391.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.4763, allocations: 0.6463 MB / 392.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/0.4764, allocations: 68.41 kB / 392.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.4766, allocations: 91.53 kB / 392.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4783, allocations: 0.8159 MB / 393.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.4784, allocations: 5.875 kB / 393.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.4785, allocations: 33.39 kB / 393.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.4785, allocations: 19.91 kB / 393.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.4797, allocations: 0.54 MB / 393.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/0.4853, allocations: 3.566 MB / 397.4 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.486, allocations: 245 kB / 397.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.4863, allocations: 119.7 kB / 397.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.4863, allocations: 3.844 kB / 397.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.4864, allocations: 41.94 kB / 397.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 4.528e-06/0.4864, allocations: 0 / 397.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002466/0.4888, allocations: 1.089 MB / 398.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.4889, allocations: 84.95 kB / 399 MB, free: 15.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4901, allocations: 0.7623 MB / 399.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.4902, allocations: 31.33 kB / 399.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.4906, allocations: 0.5233 MB / 400.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.4907, allocations: 117.6 kB / 400.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.4909, allocations: 125.8 kB / 400.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4912, allocations: 382.8 kB / 400.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.4915, allocations: 129 kB / 401 MB, free: 13.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.492, allocations: 452 kB / 401.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/0.4928, allocations: 0.6154 MB / 402.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4928, allocations: 5.469 kB / 402.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001252/0.4941, allocations: 0.6419 MB / 402.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4941, allocations: 9.438 kB / 402.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.4941, allocations: 15.56 kB / 402.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001987/0.4944, allocations: 34.59 kB / 402.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.4949, allocations: 149.9 kB / 402.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4961, allocations: 1.404 MB / 404.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.4968, allocations: 46.53 kB / 404.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.4969, allocations: 32.44 kB / 404.4 MB, free: 10.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004857/0.4973, allocations: 246 kB / 404.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.4975, allocations: 78.8 kB / 404.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.4983, allocations: 339.3 kB / 405.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4983, allocations: 3.031 kB / 405.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4983, allocations: 1.219 kB / 405.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4983, allocations: 3.938 kB / 405.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.5004, allocations: 1.118 MB / 406.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5004, allocations: 2.188 kB / 406.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.5007, allocations: 66.8 kB / 406.2 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.5008, allocations: 24.53 kB / 406.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.5008, allocations: 7.562 kB / 406.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.5019, allocations: 1.373 MB / 407.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5019, allocations: 2.594 kB / 407.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.5029, allocations: 0.5752 MB / 408.2 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.5032, allocations: 181.9 kB / 408.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.5033, allocations: 8.375 kB / 408.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.5037, allocations: 22.98 kB / 408.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.5038, allocations: 23.97 kB / 408.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5038, allocations: 6.656 kB / 408.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008746/0.5047, allocations: 0.5229 MB / 409 MB, free: 7.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5047, allocations: 3.938 kB / 409 MB, free: 7.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009982/0.5057, allocations: 178.7 kB / 409.2 MB, free: 7.148 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.5059, allocations: 106.2 kB / 409.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.5071, allocations: 485.7 kB / 409.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5071, allocations: 4 kB / 409.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.5075, allocations: 242.6 kB / 410 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.5085, allocations: 196.2 kB / 410.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.5116, allocations: 1.485 MB / 411.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.5127, allocations: 0.9518 MB / 412.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004095/0.5131, allocations: 91.92 kB / 412.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5133, allocations: 53 kB / 412.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5133, allocations: 0 / 412.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of Templates: time 0.02427/0.5375, allocations: 8.591 MB / 421.3 MB, free: 14.16 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)