Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001382/0.001382, allocations: 99.86 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.001441/0.001441, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004849/0.000485, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3315, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006677/0.3382, allocations: 5.679 MB / 332.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004507/0.3428, allocations: 2.274 MB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.3434, allocations: 16.06 kB / 334.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3446, allocations: 418 kB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.3455, allocations: 404.3 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3459, allocations: 122.9 kB / 335.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3471, allocations: 0.8492 MB / 336.2 MB, free: 9.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.3477, allocations: 364.5 kB / 336.5 MB, free: 9.383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.3481, allocations: 350.5 kB / 336.9 MB, free: 9.039 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.3485, allocations: 386.2 kB / 337.3 MB, free: 8.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.3485, allocations: 48 kB / 337.3 MB, free: 8.613 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.3488, allocations: 91.97 kB / 337.4 MB, free: 8.523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3489, allocations: 143.3 kB / 337.5 MB, free: 8.383 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3491, allocations: 221.2 kB / 337.8 MB, free: 8.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009576/0.3501, allocations: 1.079 MB / 338.8 MB, free: 7.078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3501, allocations: 0 / 338.8 MB, free: 7.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3501, allocations: 0 / 338.8 MB, free: 7.078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3501, allocations: 0 / 338.8 MB, free: 7.078 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.001753/0.3519, allocations: 1.087 MB / 339.9 MB, free: 5.941 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3519, allocations: 12.03 kB / 339.9 MB, free: 5.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.3523, allocations: 126.7 kB / 340.1 MB, free: 5.805 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000928/0.3532, allocations: 0.6173 MB / 340.7 MB, free: 5.141 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.3533, allocations: 62 kB / 340.7 MB, free: 5.082 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3534, allocations: 80 kB / 340.8 MB, free: 5.004 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.3547, allocations: 0.7676 MB / 341.6 MB, free: 4.203 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.3548, allocations: 8 kB / 341.6 MB, free: 4.195 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.3548, allocations: 35.94 kB / 341.6 MB, free: 4.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3549, allocations: 20 kB / 341.6 MB, free: 4.141 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009752/0.3558, allocations: 0.5231 MB / 342.2 MB, free: 3.621 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004034/0.3599, allocations: 3.368 MB / 345.5 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.3604, allocations: 234.4 kB / 345.8 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3604, allocations: 4 kB / 345.8 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3605, allocations: 42.55 kB / 345.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.3605, allocations: 0 / 345.8 MB, free: 15.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.002192/0.3627, allocations: 1.071 MB / 346.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.3627, allocations: 81.11 kB / 347 MB, free: 14.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009265/0.3637, allocations: 0.684 MB / 347.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3637, allocations: 29.7 kB / 347.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.3641, allocations: 498.1 kB / 348.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/0.3642, allocations: 110.5 kB / 348.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.3642, allocations: 12 kB / 348.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3644, allocations: 382.7 kB / 348.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3647, allocations: 129.2 kB / 348.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.3652, allocations: 414.2 kB / 349.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.3656, allocations: 207.8 kB / 349.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3656, allocations: 4 kB / 349.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009947/0.3666, allocations: 0.6187 MB / 350 MB, free: 11.28 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.3667, allocations: 8 kB / 350 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3667, allocations: 12 kB / 350 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.3669, allocations: 28.84 kB / 350.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.3673, allocations: 156.1 kB / 350.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009977/0.3683, allocations: 1.276 MB / 351.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.3688, allocations: 48.17 kB / 351.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.3688, allocations: 32 kB / 351.6 MB, free: 9.586 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.0003991/0.3692, allocations: 229.6 kB / 351.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.3693, allocations: 82.98 kB / 351.9 MB, free: 9.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.37, allocations: 337.9 kB / 352.2 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3701, allocations: 4 kB / 352.2 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3701, allocations: 3.953 kB / 352.2 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3701, allocations: 8 kB / 352.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3718, allocations: 1.074 MB / 353.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3718, allocations: 0 / 353.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.372, allocations: 68.12 kB / 353.4 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.424e-05/0.3721, allocations: 24.84 kB / 353.4 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3722, allocations: 8 kB / 353.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008643/0.373, allocations: 1.272 MB / 354.7 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.373, allocations: 4.031 kB / 354.7 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.374, allocations: 0.6538 MB / 355.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.3742, allocations: 164.2 kB / 355.5 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.3743, allocations: 11.98 kB / 355.5 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3746, allocations: 27.94 kB / 355.5 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.3747, allocations: 23.91 kB / 355.5 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3747, allocations: 12 kB / 355.6 MB, free: 5.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000572/0.3753, allocations: 459 kB / 356 MB, free: 4.812 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3753, allocations: 0 / 356 MB, free: 4.812 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007178/0.376, allocations: 156 kB / 356.2 MB, free: 4.66 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.0002234/0.3763, allocations: 127.2 kB / 356.3 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008689/0.3771, allocations: 468.4 kB / 356.7 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3771, allocations: 0 / 356.7 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.3775, allocations: 247.3 kB / 357 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.3783, allocations: 166.7 kB / 357.1 MB, free: 3.645 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3808, allocations: 1.746 MB / 358.9 MB, free: 1.848 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.3813, allocations: 0.9608 MB / 359.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.3817, allocations: 85.94 kB / 359.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.3818, allocations: 47.42 kB / 360 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3818, allocations: 0 / 360 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of Templates: time 0.01413/0.3959, allocations: 6.843 MB / 366.8 MB, free: 9.879 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) Environment - environmentSimulation: