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.001302/0.001302, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001611/0.001611, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.944/1.944, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001429/0.001429, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3706, allocations: 46.62 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01221/0.3829, allocations: 7.915 MB / 332.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007919/0.3909, allocations: 2.593 MB / 335.4 MB, free: 9.504 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.3937, allocations: 24.22 kB / 335.4 MB, free: 9.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.3968, allocations: 0.4937 MB / 335.9 MB, free: 9.035 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.4001, allocations: 397.2 kB / 336.3 MB, free: 8.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.401, allocations: 211.8 kB / 336.5 MB, free: 8.438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.4034, allocations: 1.416 MB / 337.9 MB, free: 7.016 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.4044, allocations: 0.5885 MB / 338.5 MB, free: 6.406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009851/0.4054, allocations: 0.5485 MB / 339 MB, free: 5.855 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.4061, allocations: 0.5794 MB / 339.6 MB, free: 5.273 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.4063, allocations: 136 kB / 339.7 MB, free: 5.141 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.4069, allocations: 172 kB / 339.9 MB, free: 4.973 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.4072, allocations: 275 kB / 340.2 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008785/0.4081, allocations: 0.6454 MB / 340.8 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.41, allocations: 1.674 MB / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.41, allocations: 0 / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.41, allocations: 0 / 342.5 MB, free: 2.375 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.41, allocations: 0 / 342.5 MB, free: 2.375 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.002649/0.4127, allocations: 1.437 MB / 343.9 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.531e-05/0.4128, allocations: 12.03 kB / 343.9 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.4134, allocations: 167.4 kB / 344.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4147, allocations: 0.7145 MB / 344.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.4148, allocations: 74 kB / 344.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.415, allocations: 107.9 kB / 345 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.4168, allocations: 0.919 MB / 345.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.4168, allocations: 0 / 345.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.4169, allocations: 40 kB / 346 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.417, allocations: 28 kB / 346 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4182, allocations: 0.6207 MB / 346.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.4234, allocations: 3.913 MB / 350.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.4241, allocations: 351.7 kB / 350.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.4245, allocations: 143.8 kB / 351 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.4245, allocations: 7.984 kB / 351 MB, free: 9.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.4246, allocations: 42.5 kB / 351 MB, free: 9.414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.605e-06/0.4246, allocations: 4 kB / 351.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.002821/0.4274, allocations: 1.188 MB / 352.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.4275, allocations: 81.11 kB / 352.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.4286, allocations: 0.8252 MB / 353.1 MB, free: 7.219 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.4287, allocations: 29.7 kB / 353.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.4292, allocations: 0.5679 MB / 353.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.4293, allocations: 130.2 kB / 353.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.4295, allocations: 126.5 kB / 354 MB, free: 6.344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4297, allocations: 330 kB / 354.3 MB, free: 6.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.4301, allocations: 149.9 kB / 354.5 MB, free: 5.871 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.4306, allocations: 463.9 kB / 354.9 MB, free: 5.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009348/0.4316, allocations: 0.6468 MB / 355.6 MB, free: 4.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.4316, allocations: 4 kB / 355.6 MB, free: 4.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001234/0.4328, allocations: 0.6802 MB / 356.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.4329, allocations: 12.75 kB / 356.3 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.4329, allocations: 11.94 kB / 356.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4331, allocations: 40.8 kB / 356.3 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.4337, allocations: 159.7 kB / 356.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.435, allocations: 1.39 MB / 357.9 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.4356, allocations: 31.98 kB / 357.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.4356, allocations: 36.09 kB / 357.9 MB, free: 1.973 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.0004534/0.4361, allocations: 257.5 kB / 358.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4363, allocations: 94.92 kB / 358.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.437, allocations: 370.5 kB / 358.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.437, allocations: 0 / 358.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.437, allocations: 11.94 kB / 358.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4371, allocations: 0 / 358.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.4391, allocations: 1.261 MB / 359.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4391, allocations: 0 / 359.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.4394, allocations: 79.83 kB / 360 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.166e-05/0.4395, allocations: 29 kB / 360 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4396, allocations: 12 kB / 360 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.4409, allocations: 1.367 MB / 361.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4409, allocations: 0 / 361.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.4419, allocations: 0.6387 MB / 362 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.4422, allocations: 184.2 kB / 362.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.4423, allocations: 16 kB / 362.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.4426, allocations: 23.92 kB / 362.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.4427, allocations: 23.97 kB / 362.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.4427, allocations: 11.98 kB / 362.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000872/0.4436, allocations: 0.5576 MB / 362.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.4436, allocations: 0 / 362.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008538/0.4445, allocations: 195.9 kB / 363 MB, free: 12.57 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.0003318/0.4448, allocations: 123.1 kB / 363.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.446, allocations: 0.5237 MB / 363.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.446, allocations: 192 / 363.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004303/0.4464, allocations: 274.3 kB / 363.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.4477, allocations: 215.4 kB / 364.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.4512, allocations: 2.105 MB / 366.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.4519, allocations: 0.9923 MB / 367.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.4523, allocations: 98.88 kB / 367.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.4525, allocations: 59.44 kB / 367.4 MB, free: 8.078 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4525, allocations: 3.938 kB / 367.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of Templates: time 0.02224/0.4747, allocations: 9.381 MB / 376.8 MB, free: 14.68 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)