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.001164/0.001164, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001267/0.001268, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.0004827/0.0004828, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3458, allocations: 47.58 MB / 326.5 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009171/0.3551, allocations: 6.99 MB / 333.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.3604, allocations: 2.459 MB / 335.9 MB, free: 9.918 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007756/0.3612, allocations: 24.16 kB / 335.9 MB, free: 9.914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.3626, allocations: 466.5 kB / 336.4 MB, free: 9.531 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.3636, allocations: 373.2 kB / 336.8 MB, free: 9.164 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.364, allocations: 147.8 kB / 336.9 MB, free: 9.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3652, allocations: 1.284 MB / 338.2 MB, free: 7.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.3658, allocations: 439.2 kB / 338.6 MB, free: 7.285 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.3663, allocations: 445.9 kB / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004956/0.3668, allocations: 485.7 kB / 339.5 MB, free: 6.371 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.3669, allocations: 64 kB / 339.6 MB, free: 6.309 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3672, allocations: 111.8 kB / 339.7 MB, free: 6.199 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.3673, allocations: 183.1 kB / 339.9 MB, free: 6.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.3675, allocations: 257.1 kB / 340.1 MB, free: 5.762 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.3687, allocations: 1.332 MB / 341.5 MB, free: 4.426 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3687, allocations: 0 / 341.5 MB, free: 4.426 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3687, allocations: 0 / 341.5 MB, free: 4.426 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3687, allocations: 0 / 341.5 MB, free: 4.426 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.001861/0.3706, allocations: 1.25 MB / 342.7 MB, free: 3.121 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3706, allocations: 8.031 kB / 342.7 MB, free: 3.113 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.3711, allocations: 170.4 kB / 342.9 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.3721, allocations: 0.6874 MB / 343.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.3722, allocations: 78 kB / 343.7 MB, free: 2.137 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3723, allocations: 95.91 kB / 343.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.3739, allocations: 0.9268 MB / 344.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.3739, allocations: 7.984 kB / 344.7 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.374, allocations: 40 kB / 344.7 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.374, allocations: 24 kB / 344.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3752, allocations: 0.6363 MB / 345.4 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.3798, allocations: 3.925 MB / 349.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.3804, allocations: 363.6 kB / 349.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3807, allocations: 149.3 kB / 349.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3807, allocations: 7.984 kB / 349.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3808, allocations: 34.56 kB / 349.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.3808, allocations: 0 / 349.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.00222/0.383, allocations: 1.222 MB / 351.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.3831, allocations: 89.11 kB / 351.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3842, allocations: 0.8136 MB / 352 MB, free: 9.418 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3842, allocations: 37.64 kB / 352 MB, free: 9.375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.3847, allocations: 0.5679 MB / 352.6 MB, free: 8.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.3848, allocations: 130.2 kB / 352.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.3848, allocations: 16 kB / 352.7 MB, free: 8.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.385, allocations: 330 kB / 353 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.3853, allocations: 153.9 kB / 353.2 MB, free: 8.176 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.3858, allocations: 464 kB / 353.6 MB, free: 7.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.3862, allocations: 235.9 kB / 353.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3862, allocations: 0 / 353.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001142/0.3874, allocations: 0.7004 MB / 354.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3874, allocations: 8 kB / 354.6 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.3874, allocations: 12 kB / 354.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.3876, allocations: 32.84 kB / 354.6 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.3881, allocations: 163.7 kB / 354.8 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009759/0.3891, allocations: 1.292 MB / 356.1 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.3895, allocations: 44.12 kB / 356.1 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3896, allocations: 35.98 kB / 356.2 MB, free: 4.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.3899, allocations: 257.5 kB / 356.4 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3901, allocations: 82.97 kB / 356.5 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007144/0.3908, allocations: 390.1 kB / 356.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3908, allocations: 4 kB / 356.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3908, allocations: 3.984 kB / 356.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3908, allocations: 0 / 356.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.3926, allocations: 1.288 MB / 358.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3926, allocations: 0 / 358.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.3929, allocations: 71.91 kB / 358.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.393, allocations: 29.06 kB / 358.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.393, allocations: 8 kB / 358.3 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.394, allocations: 1.28 MB / 359.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3941, allocations: 0 / 359.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.3951, allocations: 0.6511 MB / 360.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.3953, allocations: 192.1 kB / 360.4 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/0.3955, allocations: 8 kB / 360.4 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.3958, allocations: 35.97 kB / 360.4 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.3959, allocations: 27.92 kB / 360.5 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3959, allocations: 12 kB / 360.5 MB, free: 308 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008344/0.3968, allocations: 0.5537 MB / 361 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3968, allocations: 0 / 361 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007962/0.3976, allocations: 188 kB / 361.2 MB, free: 15.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003389/0.3979, allocations: 119.1 kB / 361.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.399, allocations: 0.5277 MB / 361.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3991, allocations: 0 / 361.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.3995, allocations: 274.3 kB / 362.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.4006, allocations: 202.7 kB / 362.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.405, allocations: 2.094 MB / 364.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.4063, allocations: 0.9923 MB / 365.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000702/0.407, allocations: 102.9 kB / 365.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.4072, allocations: 51.44 kB / 365.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4073, allocations: 0 / 365.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Templates: time 0.02272/0.43, allocations: 8.674 MB / 374.2 MB, free: 2.422 MB / 302.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)