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.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.734/1.734, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001397/0.001397, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01243/0.3284, allocations: 7.93 MB / 333.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.3355, allocations: 2.631 MB / 335.9 MB, free: 9.328 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.3373, allocations: 23.94 kB / 335.9 MB, free: 9.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.3394, allocations: 0.5441 MB / 336.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.3415, allocations: 456.3 kB / 336.9 MB, free: 8.309 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.3422, allocations: 255.7 kB / 337.1 MB, free: 8.059 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00201/0.3443, allocations: 1.42 MB / 338.6 MB, free: 6.633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.3452, allocations: 0.5885 MB / 339.2 MB, free: 6.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008712/0.3461, allocations: 0.533 MB / 339.7 MB, free: 5.488 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.3468, allocations: 0.5872 MB / 340.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.347, allocations: 136 kB / 340.4 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.3474, allocations: 172 kB / 340.6 MB, free: 4.598 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.3477, allocations: 271 kB / 340.8 MB, free: 4.332 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007022/0.3484, allocations: 0.6454 MB / 341.5 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3502, allocations: 1.686 MB / 343.2 MB, free: 1.992 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3503, allocations: 0 / 343.2 MB, free: 1.992 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3503, allocations: 0 / 343.2 MB, free: 1.992 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3503, allocations: 0 / 343.2 MB, free: 1.992 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.002469/0.3528, allocations: 1.425 MB / 344.6 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3528, allocations: 12.03 kB / 344.6 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.3534, allocations: 167.4 kB / 344.8 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3546, allocations: 0.7183 MB / 345.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.3546, allocations: 70 kB / 345.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.3548, allocations: 99.91 kB / 345.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.3564, allocations: 0.9229 MB / 346.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.3564, allocations: 0 / 346.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.3565, allocations: 43.98 kB / 346.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.3566, allocations: 24 kB / 346.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.3578, allocations: 0.6246 MB / 347.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.3631, allocations: 3.909 MB / 351.2 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.3638, allocations: 351.7 kB / 351.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.3641, allocations: 148.8 kB / 351.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.3642, allocations: 11.94 kB / 351.7 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3642, allocations: 34.56 kB / 351.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.3642, allocations: 0 / 351.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002463/0.3667, allocations: 1.187 MB / 352.9 MB, free: 7.785 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3668, allocations: 85.11 kB / 353 MB, free: 7.684 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3679, allocations: 0.8291 MB / 353.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3679, allocations: 29.7 kB / 353.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.3684, allocations: 0.5718 MB / 354.4 MB, free: 6.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.3685, allocations: 126.2 kB / 354.5 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.3687, allocations: 126.5 kB / 354.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3688, allocations: 337.9 kB / 355 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.3691, allocations: 149.9 kB / 355.1 MB, free: 5.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.3697, allocations: 452 kB / 355.6 MB, free: 4.906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.3706, allocations: 0.6429 MB / 356.2 MB, free: 4.121 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3706, allocations: 4 kB / 356.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00127/0.3719, allocations: 0.6843 MB / 356.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.372, allocations: 15.06 kB / 356.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.372, allocations: 12 kB / 356.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.3722, allocations: 45.34 kB / 357 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.3727, allocations: 155.7 kB / 357.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3741, allocations: 1.39 MB / 358.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.3749, allocations: 35.98 kB / 358.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.3749, allocations: 32 kB / 358.6 MB, free: 1.602 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.0006/0.3755, allocations: 261.6 kB / 358.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3757, allocations: 86.91 kB / 358.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.3766, allocations: 374.5 kB / 359.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3766, allocations: 7.984 kB / 359.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3766, allocations: 4 kB / 359.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3766, allocations: 8 kB / 359.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3788, allocations: 1.257 MB / 360.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3788, allocations: 3.938 kB / 360.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.3792, allocations: 75.83 kB / 360.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.119e-05/0.3793, allocations: 20.86 kB / 360.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3793, allocations: 8 kB / 360.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.3803, allocations: 1.371 MB / 362 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3803, allocations: 0 / 362 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.3814, allocations: 0.635 MB / 362.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.3817, allocations: 184.2 kB / 362.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.3818, allocations: 8 kB / 362.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.3822, allocations: 31.91 kB / 362.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.3823, allocations: 27.97 kB / 362.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3823, allocations: 8 kB / 362.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008282/0.3832, allocations: 0.5654 MB / 363.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3832, allocations: 0 / 363.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008246/0.384, allocations: 192 kB / 363.7 MB, free: 12.2 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.000268/0.3843, allocations: 131 kB / 363.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3854, allocations: 0.5231 MB / 364.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3854, allocations: 0.625 kB / 364.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004054/0.3858, allocations: 266.5 kB / 364.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.387, allocations: 211.5 kB / 364.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.3901, allocations: 1.714 MB / 366.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.3909, allocations: 1 MB / 367.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.3914, allocations: 98.89 kB / 367.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3915, allocations: 55.42 kB / 367.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3915, allocations: 0 / 367.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of Templates: time 0.02302/0.4145, allocations: 9.476 MB / 377.1 MB, free: 14.61 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)