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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,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=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001031/0.001031, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001663/0.001663, allocations: 103.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.635e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07656/0.0766, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3676, allocations: 87.54 MB / 395.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.3678, allocations: 77.83 kB / 395.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06976/0.4376, allocations: 26.32 MB / 421.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4377, allocations: 0 / 421.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.44e-05/0.4377, allocations: 27.98 kB / 421.6 MB, free: 14.71 MB / 314.7 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.001699/0.4394, allocations: 1.098 MB / 422.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4395, allocations: 8.031 kB / 422.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.44, allocations: 174.5 kB / 422.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.4414, allocations: 0.7625 MB / 423.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.4414, allocations: 80.05 kB / 423.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.4416, allocations: 102.7 kB / 423.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.443, allocations: 0.8767 MB / 424.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.443, allocations: 0 / 424.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.4431, allocations: 42.31 kB / 424.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.4432, allocations: 28 kB / 424.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.4441, allocations: 0.5719 MB / 425.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005164/0.4493, allocations: 3.939 MB / 429.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.4498, allocations: 340.3 kB / 429.6 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.4501, allocations: 130 kB / 429.7 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.4501, allocations: 4.281 kB / 429.7 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4501, allocations: 34.84 kB / 429.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.4502, allocations: 0 / 429.8 MB, free: 7.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001675/0.4518, allocations: 0.9482 MB / 430.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.4519, allocations: 88.97 kB / 430.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009031/0.4528, allocations: 0.6879 MB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4529, allocations: 33.7 kB / 431.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.4533, allocations: 0.564 MB / 432.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.4534, allocations: 126.2 kB / 432.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.4534, allocations: 12 kB / 432.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4535, allocations: 330 kB / 432.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.4538, allocations: 125.6 kB / 432.7 MB, free: 4.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.4542, allocations: 445.8 kB / 433.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.4546, allocations: 208 kB / 433.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.4546, allocations: 4 kB / 433.3 MB, free: 3.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009971/0.4556, allocations: 0.6458 MB / 434 MB, free: 3.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4556, allocations: 15.38 kB / 434 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.4557, allocations: 19.89 kB / 434 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.4558, allocations: 36.78 kB / 434 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.4564, allocations: 163.7 kB / 434.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009835/0.4573, allocations: 1.284 MB / 435.5 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.4579, allocations: 40.14 kB / 435.5 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.458, allocations: 36 kB / 435.6 MB, free: 1.461 MB / 314.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0001319/0.4581, allocations: 144.7 kB / 435.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4582, allocations: 86.95 kB / 435.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.4588, allocations: 350.6 kB / 436.1 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4589, allocations: 8 kB / 436.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4589, allocations: 0 / 436.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4589, allocations: 0 / 436.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4606, allocations: 1.229 MB / 437.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4606, allocations: 0 / 437.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.461, allocations: 79.89 kB / 437.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-05/0.4611, allocations: 24.84 kB / 437.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.4611, allocations: 8 kB / 437.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009094/0.462, allocations: 1.272 MB / 438.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.462, allocations: 4.031 kB / 438.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.4628, allocations: 0.6735 MB / 439.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.4631, allocations: 188.1 kB / 439.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.4632, allocations: 8 kB / 439.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.4636, allocations: 31.98 kB / 439.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.4636, allocations: 27.95 kB / 439.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.4637, allocations: 15.94 kB / 439.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006967/0.4644, allocations: 0.5187 MB / 440.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4644, allocations: 4 kB / 440.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008125/0.4652, allocations: 227.9 kB / 440.4 MB, free: 12.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0004554/0.4657, allocations: 286 kB / 440.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007819/0.4665, allocations: 484.4 kB / 441.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4665, allocations: 3.938 kB / 441.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.4668, allocations: 255.1 kB / 441.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.4677, allocations: 192.2 kB / 441.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.47, allocations: 1.255 MB / 442.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.4706, allocations: 1.016 MB / 443.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.471, allocations: 98.95 kB / 444 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4711, allocations: 63.44 kB / 444 MB, free: 8.508 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4711, allocations: 0 / 444 MB, free: 8.508 MB / 330.7 MB Notification: Performance of Templates: time 0.01942/0.4906, allocations: 11.16 MB / 455.2 MB, free: 13.34 MB / 346.7 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)