Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.002171/0.002171, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0034/0.0034, allocations: 196.7 kB / 16.14 MB, free: 6.707 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.806/1.806, allocations: 205.1 MB / 222 MB, free: 5.008 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.001767/0.001767, allocations: 47.94 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4802, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01429/0.4945, allocations: 7.907 MB / 332.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009916/0.5045, allocations: 2.604 MB / 335.2 MB, free: 9.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.5076, allocations: 23.75 kB / 335.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.5121, allocations: 0.4886 MB / 335.7 MB, free: 9.059 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.5163, allocations: 390.4 kB / 336.1 MB, free: 8.723 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5179, allocations: 211.7 kB / 336.3 MB, free: 8.535 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004132/0.522, allocations: 1.354 MB / 337.7 MB, free: 7.176 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.5237, allocations: 0.5045 MB / 338.2 MB, free: 6.648 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.5255, allocations: 489.8 kB / 338.6 MB, free: 6.168 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.5271, allocations: 0.552 MB / 339.2 MB, free: 5.613 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006515/0.5278, allocations: 87.98 kB / 339.3 MB, free: 5.527 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5289, allocations: 124 kB / 339.4 MB, free: 5.406 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.5294, allocations: 215 kB / 339.6 MB, free: 5.195 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.5311, allocations: 0.6024 MB / 340.2 MB, free: 4.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.534, allocations: 1.639 MB / 341.8 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.534, allocations: 0 / 341.8 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5341, allocations: 0 / 341.8 MB, free: 2.945 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.5342, allocations: 0 / 341.8 MB, free: 2.945 MB / 270.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.005108/0.5393, allocations: 1.425 MB / 343.3 MB, free: 1.465 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.235e-05/0.5394, allocations: 12.03 kB / 343.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.5407, allocations: 171.4 kB / 343.4 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.5431, allocations: 0.7144 MB / 344.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.5432, allocations: 74 kB / 344.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.5435, allocations: 99.91 kB / 344.3 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.5464, allocations: 0.9268 MB / 345.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/0.5465, allocations: 0 / 345.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5466, allocations: 40 kB / 345.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.5466, allocations: 24 kB / 345.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.5482, allocations: 0.6285 MB / 346 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008008/0.5562, allocations: 3.901 MB / 349.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.5571, allocations: 359.6 kB / 350.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.5575, allocations: 148.8 kB / 350.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.5575, allocations: 11.92 kB / 350.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.5576, allocations: 38.56 kB / 350.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 3.817e-06/0.5576, allocations: 0 / 350.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.00321/0.5608, allocations: 1.191 MB / 351.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.5609, allocations: 85.09 kB / 351.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.5623, allocations: 0.8291 MB / 352.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.5624, allocations: 29.7 kB / 352.5 MB, free: 7.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.563, allocations: 0.564 MB / 353.1 MB, free: 7.172 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.5631, allocations: 126.2 kB / 353.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.5633, allocations: 126.5 kB / 353.3 MB, free: 6.914 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.5636, allocations: 334 kB / 353.7 MB, free: 6.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.5639, allocations: 145.9 kB / 353.8 MB, free: 6.441 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.5646, allocations: 468 kB / 354.3 MB, free: 5.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.5656, allocations: 0.6357 MB / 354.9 MB, free: 5.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5657, allocations: 4 kB / 354.9 MB, free: 5.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001438/0.5671, allocations: 0.6844 MB / 355.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.5672, allocations: 8 kB / 355.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.5672, allocations: 12 kB / 355.6 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.5675, allocations: 40.78 kB / 355.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.568, allocations: 164.1 kB / 355.8 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.5695, allocations: 1.284 MB / 357.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.5702, allocations: 44.05 kB / 357.1 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.5703, allocations: 32 kB / 357.2 MB, free: 2.652 MB / 286.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.0005495/0.5708, allocations: 253.5 kB / 357.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.571, allocations: 86.97 kB / 357.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.5718, allocations: 378.1 kB / 357.9 MB, free: 1.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.5718, allocations: 4 kB / 357.9 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5719, allocations: 3.984 kB / 357.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5719, allocations: 0 / 357.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.574, allocations: 1.269 MB / 359.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.574, allocations: 4 kB / 359.2 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.5744, allocations: 76.12 kB / 359.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.5745, allocations: 24.84 kB / 359.2 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5746, allocations: 12 kB / 359.3 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.5757, allocations: 1.28 MB / 360.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5757, allocations: 4.031 kB / 360.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5768, allocations: 0.6238 MB / 361.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5772, allocations: 192.1 kB / 361.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.5773, allocations: 12 kB / 361.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.5777, allocations: 27.97 kB / 361.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5778, allocations: 31.84 kB / 361.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.5778, allocations: 12 kB / 361.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009243/0.5787, allocations: 0.5614 MB / 362 MB, free: 13.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5788, allocations: 0 / 362 MB, free: 13.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009105/0.5797, allocations: 196 kB / 362.2 MB, free: 13.34 MB / 302.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.0002874/0.58, allocations: 115.1 kB / 362.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.5812, allocations: 0.5153 MB / 362.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5813, allocations: 0.75 kB / 362.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.5817, allocations: 266.4 kB / 363.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.5829, allocations: 198.7 kB / 363.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.5866, allocations: 2.095 MB / 365.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.5873, allocations: 0.9962 MB / 366.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004924/0.5878, allocations: 106.8 kB / 366.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5879, allocations: 51.44 kB / 366.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5879, allocations: 0 / 366.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Templates: time 0.02273/0.6107, allocations: 9.003 MB / 375.5 MB, free: 15.88 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)