Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001412/0.001412, allocations: 114.2 kB / 17.07 MB, free: 5.945 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.00161/0.00161, allocations: 194.9 kB / 18.01 MB, free: 5.027 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.926/1.926, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001263/0.001263, allocations: 47.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1333, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.3029/0.4363, allocations: 7.905 MB / 382.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006818/0.4432, allocations: 2.628 MB / 385 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.4452, allocations: 23.25 kB / 385.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.4475, allocations: 0.4947 MB / 385.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.4499, allocations: 400.5 kB / 385.9 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008313/0.4508, allocations: 222.3 kB / 386.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.4526, allocations: 1.233 MB / 387.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008631/0.4535, allocations: 0.5236 MB / 387.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.4545, allocations: 483 kB / 388.4 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009264/0.4555, allocations: 0.5179 MB / 388.9 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.4557, allocations: 115.6 kB / 389 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.4563, allocations: 156.1 kB / 389.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.4565, allocations: 235.4 kB / 389.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007302/0.4572, allocations: 0.5612 MB / 390 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.4598, allocations: 1.465 MB / 391.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4598, allocations: 1.188 kB / 391.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4598, allocations: 0 / 391.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.4599, allocations: 0 / 391.4 MB, free: 4.805 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.002578/0.4625, allocations: 1.344 MB / 392.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4625, allocations: 8.906 kB / 392.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006354/0.4632, allocations: 156.9 kB / 392.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.4644, allocations: 0.6449 MB / 393.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.4645, allocations: 59.91 kB / 393.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.4646, allocations: 99.75 kB / 393.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.4663, allocations: 0.8113 MB / 394.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.4663, allocations: 14.62 kB / 394.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.4664, allocations: 32.8 kB / 394.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.4665, allocations: 21.89 kB / 394.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.4677, allocations: 0.541 MB / 395.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.4724, allocations: 3.56 MB / 398.7 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.473, allocations: 243.3 kB / 398.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.4733, allocations: 117.5 kB / 399.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.4734, allocations: 4.766 kB / 399.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4734, allocations: 40.52 kB / 399.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.717e-06/0.4734, allocations: 0 / 399.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002424/0.4759, allocations: 1.09 MB / 400.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4759, allocations: 83.92 kB / 400.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4771, allocations: 0.7678 MB / 401 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4771, allocations: 30.98 kB / 401.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.4775, allocations: 0.5225 MB / 401.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.4776, allocations: 117.3 kB / 401.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.4778, allocations: 121.7 kB / 401.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.478, allocations: 386.8 kB / 402.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.4783, allocations: 130.5 kB / 402.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.4789, allocations: 446.5 kB / 402.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.4798, allocations: 0.6197 MB / 403.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4798, allocations: 2.75 kB / 403.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001225/0.481, allocations: 0.6458 MB / 404 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4811, allocations: 10.12 kB / 404.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.4811, allocations: 13.66 kB / 404.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.4813, allocations: 34.39 kB / 404.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.4818, allocations: 154.1 kB / 404.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.483, allocations: 1.4 MB / 405.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.4837, allocations: 41.27 kB / 405.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.4837, allocations: 33.53 kB / 405.7 MB, free: 10.9 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.0003958/0.4842, allocations: 245.4 kB / 406 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4843, allocations: 79.64 kB / 406 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007163/0.485, allocations: 336.5 kB / 406.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.485, allocations: 3.344 kB / 406.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.485, allocations: 1.469 kB / 406.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.485, allocations: 7.922 kB / 406.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.487, allocations: 1.119 MB / 407.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.487, allocations: 2.188 kB / 407.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.4873, allocations: 54.53 kB / 407.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-05/0.4874, allocations: 31.34 kB / 407.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.4874, allocations: 8.406 kB / 407.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.4888, allocations: 1.377 MB / 409 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4888, allocations: 2.281 kB / 409 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4899, allocations: 0.575 MB / 409.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.4901, allocations: 178.5 kB / 409.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.4902, allocations: 12.5 kB / 409.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.4906, allocations: 26.91 kB / 409.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4907, allocations: 23.25 kB / 409.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.4907, allocations: 7.531 kB / 409.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009142/0.4916, allocations: 0.5145 MB / 410.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.4916, allocations: 4 kB / 410.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008957/0.4925, allocations: 183.2 kB / 410.5 MB, free: 7.164 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.0002006/0.4927, allocations: 108.5 kB / 410.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4938, allocations: 484.4 kB / 411.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4938, allocations: 9.281 kB / 411.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.4942, allocations: 242.5 kB / 411.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.4951, allocations: 193.6 kB / 411.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.498, allocations: 1.477 MB / 413 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.4988, allocations: 0.9509 MB / 413.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.4992, allocations: 91.55 kB / 414 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.4994, allocations: 53.02 kB / 414.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4994, allocations: 3.938 kB / 414.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of Templates: time 0.02/0.5194, allocations: 8.604 MB / 422.7 MB, free: 14.16 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)