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.001344/0.001344, allocations: 99.55 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.001446/0.001446, 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 1.874/1.874, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0005459/0.0005462, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3067, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007369/0.3141, allocations: 6.352 MB / 332.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00583/0.32, allocations: 2.508 MB / 335.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.3215, allocations: 23.03 kB / 335.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.3233, allocations: 467.1 kB / 335.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.3251, allocations: 477 kB / 336.3 MB, free: 9.676 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.3257, allocations: 151.8 kB / 336.4 MB, free: 9.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.328, allocations: 0.9988 MB / 337.4 MB, free: 8.527 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007333/0.3288, allocations: 435.2 kB / 337.8 MB, free: 8.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007015/0.3295, allocations: 418.3 kB / 338.2 MB, free: 7.676 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.33, allocations: 461.8 kB / 338.7 MB, free: 7.223 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3301, allocations: 64 kB / 338.7 MB, free: 7.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.3304, allocations: 103.9 kB / 338.9 MB, free: 7.059 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3306, allocations: 179.2 kB / 339 MB, free: 6.883 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.3308, allocations: 253.1 kB / 339.3 MB, free: 6.629 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.332, allocations: 1.289 MB / 340.6 MB, free: 5.336 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.332, allocations: 0 / 340.6 MB, free: 5.336 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.332, allocations: 0 / 340.6 MB, free: 5.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3321, allocations: 0 / 340.6 MB, free: 5.336 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.001998/0.3341, allocations: 1.231 MB / 341.8 MB, free: 4.051 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3341, allocations: 8.031 kB / 341.8 MB, free: 4.043 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004501/0.3346, allocations: 154.4 kB / 342 MB, free: 3.891 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3356, allocations: 0.6951 MB / 342.6 MB, free: 3.152 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.3357, allocations: 66 kB / 342.7 MB, free: 3.086 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3358, allocations: 104 kB / 342.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3374, allocations: 0.9112 MB / 343.7 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.3374, allocations: 7.938 kB / 343.7 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.3375, allocations: 36 kB / 343.8 MB, free: 2.004 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3375, allocations: 24 kB / 343.8 MB, free: 1.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3387, allocations: 0.6363 MB / 344.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.3436, allocations: 3.874 MB / 348.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.3442, allocations: 363.6 kB / 348.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3443, allocations: 0.5312 kB / 348.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3443, allocations: 38.56 kB / 348.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.3443, allocations: 0 / 348.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002449/0.3468, allocations: 1.226 MB / 349.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.3469, allocations: 77.11 kB / 350 MB, free: 11.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/0.3478, allocations: 0.7666 MB / 350.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3479, allocations: 33.7 kB / 350.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.3483, allocations: 0.5679 MB / 351.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.3484, allocations: 130.2 kB / 351.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.3484, allocations: 16 kB / 351.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3485, allocations: 326 kB / 351.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.3488, allocations: 149.9 kB / 352 MB, free: 9.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.3494, allocations: 464 kB / 352.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.3498, allocations: 236 kB / 352.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3498, allocations: 0 / 352.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001095/0.3509, allocations: 0.6962 MB / 353.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3509, allocations: 11.94 kB / 353.4 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.3509, allocations: 8.469 kB / 353.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.3511, allocations: 40.84 kB / 353.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.3516, allocations: 163.7 kB / 353.6 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.3526, allocations: 1.299 MB / 354.9 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.3531, allocations: 39.98 kB / 354.9 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.3532, allocations: 32 kB / 354.9 MB, free: 6.145 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.0004484/0.3536, allocations: 261.7 kB / 355.2 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.3537, allocations: 82.97 kB / 355.3 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/0.3545, allocations: 390.1 kB / 355.7 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3545, allocations: 4 kB / 355.7 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3545, allocations: 0 / 355.7 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3545, allocations: 3.984 kB / 355.7 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3563, allocations: 1.249 MB / 356.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.3563, allocations: 4 kB / 356.9 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.3566, allocations: 71.89 kB / 357 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.038e-05/0.3567, allocations: 20.86 kB / 357 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3568, allocations: 8 kB / 357 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008706/0.3576, allocations: 1.28 MB / 358.3 MB, free: 2.551 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3576, allocations: 3.938 kB / 358.3 MB, free: 2.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009979/0.3586, allocations: 0.7371 MB / 359 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.3589, allocations: 176.2 kB / 359.2 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.359, allocations: 12 kB / 359.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.3593, allocations: 28.08 kB / 359.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.3594, allocations: 35.91 kB / 359.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3595, allocations: 12 kB / 359.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006159/0.3601, allocations: 0.5107 MB / 359.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3601, allocations: 0 / 359.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006913/0.3608, allocations: 192 kB / 360 MB, free: 0.7539 MB / 286.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.0001919/0.361, allocations: 115.2 kB / 360.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.3619, allocations: 0.5226 MB / 360.6 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.362, allocations: 0 / 360.6 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.3624, allocations: 276 kB / 360.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.3632, allocations: 187.1 kB / 361.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3659, allocations: 2.094 MB / 363.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.3665, allocations: 1.016 MB / 364.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.3669, allocations: 102.7 kB / 364.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.367, allocations: 51.44 kB / 364.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.216e-06/0.367, allocations: 0 / 364.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Templates: time 0.01704/0.3841, allocations: 8.089 MB / 372.4 MB, free: 4.191 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: