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.0009841/0.0009841, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001252/0.001252, allocations: 168.7 kB / 15.95 MB, free: 204 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.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.000525/0.0005255, allocations: 16 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2855, allocations: 47.59 MB / 326.5 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01059/0.2961, allocations: 6.982 MB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007969/0.3042, allocations: 2.456 MB / 335.9 MB, free: 9.906 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.3064, allocations: 27.53 kB / 336 MB, free: 9.898 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.3093, allocations: 465.8 kB / 336.4 MB, free: 9.523 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.3118, allocations: 377.2 kB / 336.8 MB, free: 9.152 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.3127, allocations: 143.8 kB / 336.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.3154, allocations: 1.284 MB / 338.2 MB, free: 7.723 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.3168, allocations: 435.2 kB / 338.6 MB, free: 7.281 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.3182, allocations: 442 kB / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.3195, allocations: 485.7 kB / 339.5 MB, free: 6.371 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.3199, allocations: 64 kB / 339.6 MB, free: 6.309 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.3207, allocations: 108 kB / 339.7 MB, free: 6.203 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.3209, allocations: 191.1 kB / 339.9 MB, free: 6.016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.3213, allocations: 257.1 kB / 340.1 MB, free: 5.758 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.3227, allocations: 1.324 MB / 341.5 MB, free: 4.43 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.3227, allocations: 0 / 341.5 MB, free: 4.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.218e-05/0.3228, allocations: 4 kB / 341.5 MB, free: 4.426 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.3228, allocations: 3.938 kB / 341.5 MB, free: 4.422 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.00237/0.3252, allocations: 1.25 MB / 342.7 MB, free: 3.117 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.3252, allocations: 8.031 kB / 342.7 MB, free: 3.109 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.3258, allocations: 178.4 kB / 342.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3269, allocations: 0.6835 MB / 343.6 MB, free: 2.207 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.327, allocations: 70 kB / 343.7 MB, free: 2.137 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.3272, allocations: 99.91 kB / 343.7 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.3296, allocations: 0.919 MB / 344.7 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.865e-05/0.3297, allocations: 4 kB / 344.7 MB, free: 1.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3298, allocations: 40 kB / 344.7 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.3299, allocations: 24 kB / 344.7 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.3322, allocations: 0.6364 MB / 345.4 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00912/0.3413, allocations: 3.932 MB / 349.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000877/0.3422, allocations: 355.7 kB / 349.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.3427, allocations: 149.3 kB / 349.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.3427, allocations: 15.86 kB / 349.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.3428, allocations: 34.56 kB / 349.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 4.488e-06/0.3428, allocations: 8 kB / 349.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.003852/0.3467, allocations: 1.218 MB / 351.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.3468, allocations: 85.05 kB / 351.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.3486, allocations: 0.8175 MB / 352 MB, free: 9.414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.3487, allocations: 33.64 kB / 352 MB, free: 9.375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/0.3493, allocations: 0.5679 MB / 352.6 MB, free: 8.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.3495, allocations: 130.2 kB / 352.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.3496, allocations: 16 kB / 352.7 MB, free: 8.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3498, allocations: 338 kB / 353 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.3502, allocations: 149.9 kB / 353.2 MB, free: 8.172 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.351, allocations: 464 kB / 353.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.3516, allocations: 228 kB / 353.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.3517, allocations: 4 kB / 353.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00189/0.3536, allocations: 0.7003 MB / 354.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.3536, allocations: 12 kB / 354.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/0.3537, allocations: 8 kB / 354.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.3539, allocations: 36.84 kB / 354.6 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.3546, allocations: 164 kB / 354.8 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.3563, allocations: 1.292 MB / 356.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.3572, allocations: 44.14 kB / 356.1 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.3573, allocations: 32 kB / 356.2 MB, free: 4.918 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 (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.0006529/0.3579, allocations: 253.7 kB / 356.4 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.3581, allocations: 82.97 kB / 356.5 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.3593, allocations: 390.1 kB / 356.9 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.3593, allocations: 4 kB / 356.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3593, allocations: 0 / 356.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3593, allocations: 7.984 kB / 356.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.3627, allocations: 1.284 MB / 358.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.3628, allocations: 4 kB / 358.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.3633, allocations: 76.12 kB / 358.2 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.3634, allocations: 20.84 kB / 358.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.3635, allocations: 12 kB / 358.3 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.3652, allocations: 1.276 MB / 359.5 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.3652, allocations: 7.984 kB / 359.6 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.3668, allocations: 0.6511 MB / 360.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.3672, allocations: 188.1 kB / 360.4 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.3674, allocations: 8 kB / 360.4 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.3679, allocations: 31.98 kB / 360.4 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.3681, allocations: 35.84 kB / 360.5 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.3682, allocations: 12.09 kB / 360.5 MB, free: 304 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.3694, allocations: 0.5615 MB / 361 MB, free: 15.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3694, allocations: 0 / 361 MB, free: 15.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00133/0.3707, allocations: 188 kB / 361.2 MB, free: 15.55 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 (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.0004305/0.3712, allocations: 123.2 kB / 361.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.3731, allocations: 0.5231 MB / 361.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.3731, allocations: 0 / 361.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.3739, allocations: 279.5 kB / 362.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.3755, allocations: 191.2 kB / 362.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.3802, allocations: 2.082 MB / 364.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.3809, allocations: 0.9962 MB / 365.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.3814, allocations: 102.9 kB / 365.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.3815, allocations: 55.44 kB / 365.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of SimCode: time 1.854e-06/0.3815, allocations: 3.938 kB / 365.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Templates: time 0.02244/0.404, allocations: 8.681 MB / 374.2 MB, free: 2.41 MB / 302.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)