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.001449/0.001449, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.01346/0.01346, allocations: 173.9 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0005335/0.0005334, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3965, allocations: 47.57 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008728/0.4053, allocations: 7.428 MB / 334.5 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.412, allocations: 2.58 MB / 337 MB, free: 9.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.4135, allocations: 23.94 kB / 337.1 MB, free: 9.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.4155, allocations: 0.4902 MB / 337.6 MB, free: 8.805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.4173, allocations: 393.2 kB / 337.9 MB, free: 8.418 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.418, allocations: 207.8 kB / 338.1 MB, free: 8.215 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.4197, allocations: 1.35 MB / 339.5 MB, free: 6.859 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009344/0.4206, allocations: 0.4967 MB / 340 MB, free: 6.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.4214, allocations: 461.8 kB / 340.4 MB, free: 5.887 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006455/0.4221, allocations: 0.5013 MB / 340.9 MB, free: 5.383 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.4222, allocations: 64 kB / 341 MB, free: 5.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.4225, allocations: 99.97 kB / 341.1 MB, free: 5.223 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.4227, allocations: 191 kB / 341.3 MB, free: 5.035 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.4233, allocations: 0.5884 MB / 341.9 MB, free: 4.438 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4247, allocations: 1.592 MB / 343.5 MB, free: 2.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4247, allocations: 0 / 343.5 MB, free: 2.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4248, allocations: 0 / 343.5 MB, free: 2.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.4248, allocations: 0 / 343.5 MB, free: 2.84 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.002157/0.4269, allocations: 1.235 MB / 344.7 MB, free: 1.551 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.427, allocations: 12.03 kB / 344.7 MB, free: 1.539 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.4275, allocations: 175.3 kB / 344.9 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4286, allocations: 0.7145 MB / 345.6 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/0.4287, allocations: 77.94 kB / 345.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4289, allocations: 95.98 kB / 345.8 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4305, allocations: 0.9269 MB / 346.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.4306, allocations: 11.84 kB / 346.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.4307, allocations: 40 kB / 346.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.4307, allocations: 28 kB / 346.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.4319, allocations: 0.6364 MB / 347.4 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.4369, allocations: 3.932 MB / 351.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.4375, allocations: 363.6 kB / 351.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.4378, allocations: 152.8 kB / 351.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.4379, allocations: 4 kB / 351.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4379, allocations: 38.56 kB / 351.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.4379, allocations: 0 / 351.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002384/0.4403, allocations: 1.231 MB / 353.1 MB, free: 8.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.4404, allocations: 89.05 kB / 353.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.4415, allocations: 0.8175 MB / 354 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.4415, allocations: 33.7 kB / 354.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.4419, allocations: 0.5717 MB / 354.6 MB, free: 7.156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4421, allocations: 134.2 kB / 354.8 MB, free: 7.023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.4421, allocations: 57.69 kB / 354.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.4424, allocations: 330 kB / 355.1 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4427, allocations: 153.9 kB / 355.3 MB, free: 6.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.4434, allocations: 475.9 kB / 355.8 MB, free: 5.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.4443, allocations: 0.6468 MB / 356.4 MB, free: 5.086 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.4444, allocations: 4 kB / 356.4 MB, free: 5.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001388/0.4458, allocations: 0.704 MB / 357.1 MB, free: 4.367 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.4458, allocations: 8 kB / 357.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.4458, allocations: 12 kB / 357.1 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.4461, allocations: 32.84 kB / 357.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.4467, allocations: 168 kB / 357.3 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.4485, allocations: 1.299 MB / 358.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.4491, allocations: 39.89 kB / 358.7 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.4492, allocations: 32 kB / 358.7 MB, free: 2.648 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.0004959/0.4497, allocations: 257.5 kB / 358.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4498, allocations: 83.16 kB / 359 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007901/0.4506, allocations: 390.1 kB / 359.4 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4506, allocations: 8 kB / 359.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4506, allocations: 0 / 359.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.4507, allocations: 7.922 kB / 359.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.4531, allocations: 1.277 MB / 360.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4531, allocations: 4.219 kB / 360.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.4534, allocations: 71.91 kB / 360.8 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.4535, allocations: 24.84 kB / 360.8 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4536, allocations: 8 kB / 360.8 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.4547, allocations: 1.288 MB / 362.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4547, allocations: 4.031 kB / 362.1 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.4558, allocations: 0.6473 MB / 362.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.4561, allocations: 192.1 kB / 362.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.4562, allocations: 8 kB / 362.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.4566, allocations: 43.91 kB / 363 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.4566, allocations: 27.91 kB / 363 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4567, allocations: 12 kB / 363 MB, free: 14.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008938/0.4576, allocations: 0.5615 MB / 363.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4576, allocations: 4 kB / 363.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007983/0.4584, allocations: 184 kB / 363.8 MB, free: 13.28 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.000279/0.4587, allocations: 123.1 kB / 363.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4598, allocations: 0.5302 MB / 364.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4598, allocations: 0 / 364.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.4602, allocations: 272.3 kB / 364.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4616, allocations: 198.2 kB / 364.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.4652, allocations: 2.204 MB / 367.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/0.4661, allocations: 0.9923 MB / 368.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004783/0.4665, allocations: 102.9 kB / 368.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.4667, allocations: 51.44 kB / 368.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4667, allocations: 0 / 368.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of Templates: time 0.02095/0.4877, allocations: 8.94 MB / 377.2 MB, free: 15.75 MB / 318.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)