Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001045/0.001045, allocations: 177.3 kB / 15.94 MB, free: 228 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.037/2.037, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0006268/0.0006271, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4146, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008351/0.423, allocations: 5.675 MB / 332.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006884/0.4299, allocations: 2.275 MB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.4318, allocations: 15.03 kB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.434, allocations: 422.3 kB / 334.8 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.4364, allocations: 403.7 kB / 335.2 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.437, allocations: 123.3 kB / 335.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.4394, allocations: 0.8538 MB / 336.2 MB, free: 9.758 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.4402, allocations: 360.5 kB / 336.5 MB, free: 9.395 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008728/0.4411, allocations: 342.6 kB / 336.9 MB, free: 9.059 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.4416, allocations: 390.2 kB / 337.3 MB, free: 8.676 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.4417, allocations: 48 kB / 337.3 MB, free: 8.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.4421, allocations: 87.92 kB / 337.4 MB, free: 8.543 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.4423, allocations: 147.4 kB / 337.5 MB, free: 8.398 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.4425, allocations: 221.2 kB / 337.8 MB, free: 8.176 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.4441, allocations: 1.075 MB / 338.8 MB, free: 7.098 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4441, allocations: 0 / 338.8 MB, free: 7.098 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4441, allocations: 0 / 338.8 MB, free: 7.098 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.4441, allocations: 0 / 338.8 MB, free: 7.098 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002265/0.4464, allocations: 1.087 MB / 339.9 MB, free: 5.961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4465, allocations: 8.031 kB / 339.9 MB, free: 5.953 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.4469, allocations: 134.7 kB / 340.1 MB, free: 5.82 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.448, allocations: 0.6173 MB / 340.7 MB, free: 5.156 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.4481, allocations: 62 kB / 340.7 MB, free: 5.098 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.4483, allocations: 80 kB / 340.8 MB, free: 5.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.4499, allocations: 0.7676 MB / 341.6 MB, free: 4.219 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.4499, allocations: 15.94 kB / 341.6 MB, free: 4.203 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.45, allocations: 32 kB / 341.6 MB, free: 4.172 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.45, allocations: 16 kB / 341.6 MB, free: 4.156 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4511, allocations: 0.527 MB / 342.2 MB, free: 3.633 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.4558, allocations: 3.36 MB / 345.5 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.4564, allocations: 238.4 kB / 345.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.4565, allocations: 8 kB / 345.8 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4565, allocations: 38.56 kB / 345.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.4565, allocations: 0 / 345.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.00256/0.4591, allocations: 1.071 MB / 346.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.4592, allocations: 85.11 kB / 347 MB, free: 14.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.4602, allocations: 0.6762 MB / 347.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.4603, allocations: 33.7 kB / 347.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.4607, allocations: 0.4903 MB / 348.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.4608, allocations: 106.5 kB / 348.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.4608, allocations: 16 kB / 348.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.4611, allocations: 378.7 kB / 348.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.4613, allocations: 129.2 kB / 348.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.4619, allocations: 418.2 kB / 349.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.4623, allocations: 203.8 kB / 349.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.4623, allocations: 4 kB / 349.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001149/0.4634, allocations: 0.6187 MB / 350 MB, free: 11.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4635, allocations: 8 kB / 350 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.4635, allocations: 8 kB / 350 MB, free: 11.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.4637, allocations: 32.84 kB / 350.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.4642, allocations: 144.1 kB / 350.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.4654, allocations: 1.295 MB / 351.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.4658, allocations: 44.19 kB / 351.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.4659, allocations: 35.94 kB / 351.6 MB, free: 9.594 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0004027/0.4663, allocations: 229.6 kB / 351.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4664, allocations: 75.06 kB / 351.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007708/0.4672, allocations: 337.9 kB / 352.2 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4672, allocations: 4 kB / 352.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4672, allocations: 3.953 kB / 352.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4672, allocations: 3.984 kB / 352.2 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.4694, allocations: 1.078 MB / 353.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4694, allocations: 0 / 353.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.4697, allocations: 68.11 kB / 353.4 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.4698, allocations: 24.86 kB / 353.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4699, allocations: 11.98 kB / 353.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.4709, allocations: 1.276 MB / 354.7 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.4709, allocations: 4 kB / 354.7 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.472, allocations: 0.6499 MB / 355.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.4722, allocations: 168.2 kB / 355.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.4723, allocations: 4 kB / 355.5 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.4726, allocations: 27.94 kB / 355.5 MB, free: 5.309 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.4727, allocations: 27.91 kB / 355.5 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4727, allocations: 16 kB / 355.6 MB, free: 5.266 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007146/0.4734, allocations: 463 kB / 356 MB, free: 4.816 MB / 286.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4734, allocations: 0 / 356 MB, free: 4.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007522/0.4742, allocations: 156 kB / 356.2 MB, free: 4.664 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (27): * Single equations (assignments): 26 * 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.0002394/0.4745, allocations: 115.2 kB / 356.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.4756, allocations: 472.6 kB / 356.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4756, allocations: 0 / 356.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.476, allocations: 247 kB / 357 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.4769, allocations: 166.9 kB / 357.1 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.4799, allocations: 1.738 MB / 358.9 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.4806, allocations: 0.9608 MB / 359.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.4811, allocations: 85.94 kB / 359.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4812, allocations: 43.44 kB / 360 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4812, allocations: 0 / 360 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of Templates: time 0.0173/0.4985, allocations: 6.85 MB / 366.8 MB, free: 9.895 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) Environment - environmentSimulation: