Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001783/0.001782, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002606/0.002606, allocations: 196.7 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.1 MB / 222 MB, free: 4.996 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.002227/0.002227, allocations: 47.94 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3428, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01181/0.3547, allocations: 7.908 MB / 332.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008024/0.3628, allocations: 2.599 MB / 335.2 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.365, allocations: 28.19 kB / 335.2 MB, free: 9.398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3674, allocations: 496.9 kB / 335.7 MB, free: 9.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.3702, allocations: 394.1 kB / 336.1 MB, free: 8.715 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.371, allocations: 217.4 kB / 336.3 MB, free: 8.523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.374, allocations: 1.363 MB / 337.7 MB, free: 7.156 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.3751, allocations: 0.5006 MB / 338.2 MB, free: 6.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.3762, allocations: 489.8 kB / 338.6 MB, free: 6.152 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.3769, allocations: 0.552 MB / 339.2 MB, free: 5.598 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.377, allocations: 84 kB / 339.3 MB, free: 5.516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.3774, allocations: 120 kB / 339.4 MB, free: 5.398 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.3777, allocations: 223 kB / 339.6 MB, free: 5.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006793/0.3783, allocations: 0.6101 MB / 340.2 MB, free: 4.566 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.3804, allocations: 1.631 MB / 341.8 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3804, allocations: 0 / 341.8 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3804, allocations: 0 / 341.8 MB, free: 2.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3804, allocations: 4 kB / 341.9 MB, free: 2.926 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.002849/0.3833, allocations: 1.425 MB / 343.3 MB, free: 1.445 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.3834, allocations: 8.031 kB / 343.3 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006732/0.384, allocations: 171.4 kB / 343.5 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3853, allocations: 0.7222 MB / 344.2 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.3854, allocations: 69.94 kB / 344.2 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3855, allocations: 99.91 kB / 344.3 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3873, allocations: 0.9191 MB / 345.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.3874, allocations: 3.938 kB / 345.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.3874, allocations: 44 kB / 345.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.3875, allocations: 24 kB / 345.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3887, allocations: 0.6246 MB / 346 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006059/0.3948, allocations: 3.913 MB / 349.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.3955, allocations: 347.6 kB / 350.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3958, allocations: 152.8 kB / 350.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3959, allocations: 0 / 350.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3959, allocations: 34.56 kB / 350.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.963e-06/0.3959, allocations: 0 / 350.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002818/0.3988, allocations: 1.199 MB / 351.6 MB, free: 8.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.3988, allocations: 81.11 kB / 351.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4001, allocations: 0.8252 MB / 352.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.4001, allocations: 33.7 kB / 352.5 MB, free: 7.738 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.4006, allocations: 0.5679 MB / 353.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.4008, allocations: 126.2 kB / 353.2 MB, free: 7.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.401, allocations: 126.5 kB / 353.3 MB, free: 6.902 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4012, allocations: 330 kB / 353.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.4015, allocations: 153.9 kB / 353.8 MB, free: 6.426 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.4021, allocations: 459.9 kB / 354.3 MB, free: 5.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008879/0.403, allocations: 0.6357 MB / 354.9 MB, free: 5.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.403, allocations: 4 kB / 354.9 MB, free: 5.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001173/0.4042, allocations: 0.6884 MB / 355.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4042, allocations: 12 kB / 355.6 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4042, allocations: 8 kB / 355.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.4044, allocations: 40.78 kB / 355.6 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.4049, allocations: 155.7 kB / 355.8 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4061, allocations: 1.3 MB / 357.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.4066, allocations: 36.05 kB / 357.1 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.4067, allocations: 36 kB / 357.2 MB, free: 2.637 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.0003962/0.4071, allocations: 261.5 kB / 357.4 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4072, allocations: 82.97 kB / 357.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/0.4079, allocations: 378.1 kB / 357.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4079, allocations: 4 kB / 357.9 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4079, allocations: 4 kB / 357.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.408, allocations: 3.984 kB / 357.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.4098, allocations: 1.257 MB / 359.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4098, allocations: 0 / 359.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.4102, allocations: 75.89 kB / 359.2 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.918e-05/0.4103, allocations: 33.06 kB / 359.3 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.4103, allocations: 8 kB / 359.3 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008679/0.4112, allocations: 1.268 MB / 360.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4112, allocations: 4.031 kB / 360.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.4121, allocations: 0.6394 MB / 361.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4124, allocations: 192 kB / 361.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.4125, allocations: 8 kB / 361.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.4128, allocations: 35.92 kB / 361.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.4129, allocations: 27.91 kB / 361.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4129, allocations: 11.98 kB / 361.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000702/0.4137, allocations: 0.5576 MB / 362 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4137, allocations: 0 / 362 MB, free: 13.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000715/0.4144, allocations: 188 kB / 362.2 MB, free: 13.34 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.0002291/0.4146, allocations: 135.1 kB / 362.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009207/0.4155, allocations: 0.504 MB / 362.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4156, allocations: 0 / 362.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.416, allocations: 267.2 kB / 363.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.4171, allocations: 194.5 kB / 363.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.42, allocations: 2.107 MB / 365.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.4206, allocations: 0.9962 MB / 366.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000379/0.4209, allocations: 102.9 kB / 366.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4211, allocations: 51.44 kB / 366.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4211, allocations: 0 / 366.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of Templates: time 0.01684/0.4379, allocations: 8.995 MB / 375.5 MB, free: 15.88 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1)