Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.242/1.242, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001783/0.001783, allocations: 120.7 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.68e-05, allocations: 7.938 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06682/0.06685, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.369, allocations: 92.02 MB / 434.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.3693, allocations: 88.72 kB / 434.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06454/0.4339, allocations: 25.82 MB / 460.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4339, allocations: 0 / 460.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.989e-05/0.434, allocations: 20 kB / 460.5 MB, free: 6.758 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.002194/0.4362, allocations: 1.101 MB / 461.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4362, allocations: 8.031 kB / 461.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007639/0.437, allocations: 174.5 kB / 461.8 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.4385, allocations: 0.7662 MB / 462.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.4386, allocations: 32 kB / 462.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.4388, allocations: 59.91 kB / 462.7 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/0.4399, allocations: 0.5212 MB / 463.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4412, allocations: 0.7334 MB / 463.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.4412, allocations: 0 / 463.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.4413, allocations: 0 / 463.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.4413, allocations: 28 kB / 463.9 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.4463, allocations: 3.758 MB / 467.7 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.4467, allocations: 320.9 kB / 468 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4469, allocations: 119 kB / 468.1 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.447, allocations: 8.266 kB / 468.1 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.447, allocations: 37.72 kB / 468.2 MB, free: 284 kB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.447, allocations: 0 / 468.2 MB, free: 284 kB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001482/0.4485, allocations: 0.8774 MB / 469 MB, free: 15.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4486, allocations: 85.11 kB / 469.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.4493, allocations: 0.5761 MB / 469.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4493, allocations: 25.7 kB / 469.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.4497, allocations: 0.5723 MB / 470.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.4498, allocations: 134.8 kB / 470.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.4498, allocations: 0 / 470.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4499, allocations: 382.4 kB / 470.8 MB, free: 14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4501, allocations: 112.4 kB / 470.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.4505, allocations: 416.2 kB / 471.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.4508, allocations: 191.8 kB / 471.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4508, allocations: 4 kB / 471.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008756/0.4517, allocations: 0.5541 MB / 472.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4517, allocations: 8 kB / 472.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4517, allocations: 15.94 kB / 472.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.4519, allocations: 30.47 kB / 472.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.4524, allocations: 169.5 kB / 472.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000979/0.4534, allocations: 1.244 MB / 473.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.4539, allocations: 23.84 kB / 473.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.454, allocations: 38.8 kB / 473.6 MB, free: 11.28 MB / 330.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.000131/0.4541, allocations: 137.8 kB / 473.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4542, allocations: 80.64 kB / 473.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.4548, allocations: 306.5 kB / 474.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4548, allocations: 4 kB / 474.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4548, allocations: 0 / 474.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4548, allocations: 4 kB / 474.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.4564, allocations: 1.054 MB / 475.2 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4564, allocations: 4 kB / 475.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.4567, allocations: 79.89 kB / 475.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.765e-05/0.4568, allocations: 25.08 kB / 475.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.4569, allocations: 0 / 475.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009037/0.4578, allocations: 1.233 MB / 476.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4578, allocations: 3.938 kB / 476.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/0.4585, allocations: 0.6308 MB / 477.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.4588, allocations: 180.3 kB / 477.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.4589, allocations: 11.97 kB / 477.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.4593, allocations: 23.98 kB / 477.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.4594, allocations: 23.97 kB / 477.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.4594, allocations: 16 kB / 477.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005226/0.4599, allocations: 435.2 kB / 477.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.4599, allocations: 0 / 477.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007083/0.4607, allocations: 179.9 kB / 478 MB, free: 6.688 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.0003696/0.461, allocations: 261.9 kB / 478.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.4617, allocations: 445.5 kB / 478.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4617, allocations: 2.25 kB / 478.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.462, allocations: 229.6 kB / 478.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.4628, allocations: 164.3 kB / 479.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.465, allocations: 1.233 MB / 480.3 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.4656, allocations: 1.015 MB / 481.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004006/0.466, allocations: 98.38 kB / 481.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4662, allocations: 55.44 kB / 481.5 MB, free: 3.098 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4662, allocations: 0 / 481.5 MB, free: 3.098 MB / 330.7 MB Notification: Performance of Templates: time 0.01507/0.4812, allocations: 7.904 MB / 489.4 MB, free: 11.19 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)