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.001022/0.001021, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007551/0.007551, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.948/1.948, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004645/0.0004644, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3764, allocations: 47.59 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00955/0.386, allocations: 7.432 MB / 334.5 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006379/0.3924, allocations: 2.568 MB / 337 MB, free: 9.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.3944, allocations: 23.94 kB / 337.1 MB, free: 9.312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.3969, allocations: 498 kB / 337.5 MB, free: 8.824 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.3999, allocations: 385.2 kB / 337.9 MB, free: 8.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.4011, allocations: 219.8 kB / 338.1 MB, free: 8.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.4044, allocations: 1.35 MB / 339.5 MB, free: 6.875 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.4059, allocations: 0.5045 MB / 340 MB, free: 6.348 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.4076, allocations: 457.7 kB / 340.4 MB, free: 5.898 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.4094, allocations: 0.5013 MB / 340.9 MB, free: 5.395 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.4098, allocations: 60 kB / 341 MB, free: 5.336 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.4105, allocations: 99.98 kB / 341.1 MB, free: 5.238 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.4107, allocations: 191 kB / 341.3 MB, free: 5.051 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.4115, allocations: 0.5884 MB / 341.9 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.4133, allocations: 1.595 MB / 343.5 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4134, allocations: 0 / 343.5 MB, free: 2.852 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4134, allocations: 4 kB / 343.5 MB, free: 2.848 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4134, allocations: 0 / 343.5 MB, free: 2.848 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.002507/0.4159, allocations: 1.246 MB / 344.7 MB, free: 1.547 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.958e-05/0.416, allocations: 12.03 kB / 344.7 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.4167, allocations: 171.3 kB / 344.9 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4179, allocations: 0.7106 MB / 345.6 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.418, allocations: 74 kB / 345.7 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.4181, allocations: 92 kB / 345.8 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.4199, allocations: 0.9347 MB / 346.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.4199, allocations: 3.906 kB / 346.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/0.42, allocations: 48 kB / 346.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.4201, allocations: 27.98 kB / 346.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.4213, allocations: 0.6286 MB / 347.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005421/0.4268, allocations: 3.94 MB / 351.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.4274, allocations: 355.7 kB / 351.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.4277, allocations: 152.8 kB / 351.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.4278, allocations: 4 kB / 351.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.4278, allocations: 38.56 kB / 351.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 3.647e-06/0.4278, allocations: 0 / 351.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002533/0.4304, allocations: 1.231 MB / 353.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4304, allocations: 81.11 kB / 353.2 MB, free: 8.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.4316, allocations: 0.8292 MB / 354 MB, free: 7.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.4316, allocations: 33.7 kB / 354.1 MB, free: 7.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.4321, allocations: 0.5678 MB / 354.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.921e-05/0.4322, allocations: 130.2 kB / 354.8 MB, free: 7.039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.4323, allocations: 57.69 kB / 354.8 MB, free: 6.977 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4324, allocations: 330 kB / 355.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.4328, allocations: 157.9 kB / 355.3 MB, free: 6.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.4333, allocations: 467.9 kB / 355.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.4343, allocations: 0.6624 MB / 356.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.4343, allocations: 4 kB / 356.4 MB, free: 5.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001215/0.4355, allocations: 0.6923 MB / 357.1 MB, free: 4.383 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.4355, allocations: 12 kB / 357.1 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4356, allocations: 8 kB / 357.1 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.4358, allocations: 41.22 kB / 357.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.4363, allocations: 159.7 kB / 357.3 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.4373, allocations: 1.295 MB / 358.6 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.4379, allocations: 35.89 kB / 358.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.438, allocations: 39.94 kB / 358.7 MB, free: 2.664 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.0004384/0.4384, allocations: 265.6 kB / 358.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4385, allocations: 79.06 kB / 359 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/0.4393, allocations: 394.1 kB / 359.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4393, allocations: 4 kB / 359.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4393, allocations: 3.938 kB / 359.4 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4393, allocations: 3.984 kB / 359.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.4413, allocations: 1.281 MB / 360.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4413, allocations: 7.984 kB / 360.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.4416, allocations: 71.89 kB / 360.8 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-05/0.4417, allocations: 24.84 kB / 360.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.4417, allocations: 8 kB / 360.8 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.4428, allocations: 1.28 MB / 362.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.4428, allocations: 7.969 kB / 362.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4439, allocations: 0.6512 MB / 362.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.4442, allocations: 192.1 kB / 362.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.4442, allocations: 12 kB / 362.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.4446, allocations: 27.98 kB / 363 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.4447, allocations: 27.91 kB / 363 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.4447, allocations: 11.98 kB / 363 MB, free: 14.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008001/0.4455, allocations: 0.5615 MB / 363.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4456, allocations: 0 / 363.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008353/0.4464, allocations: 188 kB / 363.8 MB, free: 13.29 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.0002999/0.4467, allocations: 123.1 kB / 363.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.4478, allocations: 0.5238 MB / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4478, allocations: 0 / 364.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.4482, allocations: 274.9 kB / 364.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.4495, allocations: 203.2 kB / 364.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.4526, allocations: 2.211 MB / 367.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.4533, allocations: 0.9923 MB / 368.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.4537, allocations: 102.9 kB / 368.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.4538, allocations: 55.44 kB / 368.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4538, allocations: 0 / 368.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of Templates: time 0.01926/0.4731, allocations: 8.923 MB / 377.2 MB, free: 15.78 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)