Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 189.7 kB / 16.66 MB, free: 6.582 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.969/1.969, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.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.001207/0.001207, allocations: 53.8 kB / 326.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009742/0.1283, allocations: 7.927 MB / 381.1 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004746/0.1331, allocations: 2.634 MB / 383.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.1338, allocations: 23.94 kB / 383.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.1353, allocations: 0.5519 MB / 384.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009837/0.1363, allocations: 456.4 kB / 384.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.1368, allocations: 247.7 kB / 385 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1383, allocations: 1.428 MB / 386.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008169/0.1391, allocations: 0.5885 MB / 387 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.1398, allocations: 0.533 MB / 387.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.1405, allocations: 0.5794 MB / 388.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.1407, allocations: 136 kB / 388.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.141, allocations: 172 kB / 388.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.1413, allocations: 282.9 kB / 388.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.1419, allocations: 0.6493 MB / 389.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.1439, allocations: 1.704 MB / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1439, allocations: 0 / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1439, allocations: 0 / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/0.1439, allocations: 0 / 391.1 MB, free: 15.33 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002561/0.1465, allocations: 1.463 MB / 392.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1466, allocations: 8.031 kB / 392.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005818/0.1472, allocations: 180 kB / 392.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1484, allocations: 0.7307 MB / 393.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.1485, allocations: 70 kB / 393.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.1486, allocations: 104 kB / 393.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.1502, allocations: 0.9229 MB / 394.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.1503, allocations: 0 / 394.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.1504, allocations: 43.94 kB / 394.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.1504, allocations: 28 kB / 394.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1516, allocations: 0.6246 MB / 395.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.1564, allocations: 3.879 MB / 399.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.157, allocations: 355.6 kB / 399.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.1573, allocations: 148.8 kB / 399.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1574, allocations: 7.938 kB / 399.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1574, allocations: 34.56 kB / 399.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.1574, allocations: 0 / 399.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002322/0.1597, allocations: 1.214 MB / 400.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.1598, allocations: 81.11 kB / 400.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1609, allocations: 0.8292 MB / 401.8 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1609, allocations: 29.7 kB / 401.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.1614, allocations: 0.5812 MB / 402.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.1615, allocations: 130.9 kB / 402.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.1617, allocations: 130.5 kB / 402.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1619, allocations: 334 kB / 402.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.1622, allocations: 145.9 kB / 403.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.1627, allocations: 460 kB / 403.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.1636, allocations: 0.6437 MB / 404.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1636, allocations: 4 kB / 404.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001087/0.1647, allocations: 0.685 MB / 404.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1647, allocations: 15.91 kB / 404.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1647, allocations: 8 kB / 404.9 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.1649, allocations: 40.78 kB / 404.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.1654, allocations: 156.1 kB / 405.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.1666, allocations: 1.39 MB / 406.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.1671, allocations: 35.94 kB / 406.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.1671, allocations: 35.98 kB / 406.5 MB, free: 14.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0003796/0.1675, allocations: 253.6 kB / 406.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1676, allocations: 87.42 kB / 406.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.1684, allocations: 374.6 kB / 407.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1684, allocations: 4 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1684, allocations: 4 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1684, allocations: 3.984 kB / 407.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.1702, allocations: 1.265 MB / 408.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1702, allocations: 7.938 kB / 408.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.1705, allocations: 80.06 kB / 408.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.279e-05/0.1706, allocations: 20.84 kB / 408.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.1706, allocations: 8 kB / 408.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.1717, allocations: 1.379 MB / 410 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1717, allocations: 4.031 kB / 410 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1728, allocations: 0.6439 MB / 410.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.1731, allocations: 192.5 kB / 410.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.1732, allocations: 8 kB / 410.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.1735, allocations: 31.91 kB / 410.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.1736, allocations: 23.97 kB / 410.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1736, allocations: 8 kB / 410.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008684/0.1745, allocations: 0.5693 MB / 411.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1745, allocations: 0 / 411.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007302/0.1752, allocations: 188 kB / 411.7 MB, free: 9.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0003024/0.1755, allocations: 127.1 kB / 411.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009717/0.1765, allocations: 0.5085 MB / 412.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1765, allocations: 0 / 412.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.1769, allocations: 262.4 kB / 412.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.178, allocations: 211.8 kB / 412.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.1808, allocations: 1.712 MB / 414.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.1815, allocations: 0.9962 MB / 415.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003523/0.1819, allocations: 102.9 kB / 415.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.182, allocations: 51.44 kB / 415.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.182, allocations: 0 / 415.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of Templates: time 0.01896/0.201, allocations: 9.652 MB / 425.3 MB, free: 11.69 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)