Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.0012/0.0012, allocations: 193.1 kB / 16.13 MB, free: 6.719 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.734 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.00115/0.00115, allocations: 47.92 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2327, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01772/0.2505, allocations: 16.38 MB / 341.1 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2641, allocations: 5.381 MB / 346.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.2691, allocations: 87.62 kB / 346.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005078/0.2742, allocations: 1.081 MB / 347.6 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006878/0.2811, allocations: 1.445 MB / 349.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.2843, allocations: 0.9715 MB / 350 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008409/0.2928, allocations: 5.305 MB / 355.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004514/0.2973, allocations: 3.191 MB / 358.5 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.3006, allocations: 1.844 MB / 360.4 MB, free: 284 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.3044, allocations: 2.435 MB / 362.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008137/0.3053, allocations: 364 kB / 363.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.307, allocations: 0.5896 MB / 363.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009604/0.308, allocations: 1.145 MB / 364.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003118/0.3111, allocations: 2.356 MB / 367.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008251/0.3193, allocations: 7.82 MB / 375.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3194, allocations: 0 / 375.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3194, allocations: 0 / 375.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.3197, allocations: 0 / 375.1 MB, free: 1.527 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01831/0.338, allocations: 5.374 MB / 380.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.3381, allocations: 8.031 kB / 380.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006585/0.3447, allocations: 0.9909 MB / 381.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007618/0.3523, allocations: 2.695 MB / 384.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.3527, allocations: 312.2 kB / 384.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/0.3542, allocations: 399.9 kB / 384.8 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.3681, allocations: 5.209 MB / 390 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.3682, allocations: 0 / 390 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008477/0.3691, allocations: 164 kB / 390.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.3693, allocations: 180 kB / 390.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009491/0.3788, allocations: 4.443 MB / 394.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03302/0.4118, allocations: 16.84 MB / 411.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.422, allocations: 8.432 MB / 420.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/0.4254, allocations: 1.71 MB / 421.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009622/0.4351, allocations: 4.994 MB / 426.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.4352, allocations: 51.88 kB / 426.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 3.036e-06/0.4352, allocations: 0 / 426.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01325/0.4484, allocations: 6.115 MB / 433 MB, free: 5.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.4485, allocations: 68.72 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.453, allocations: 2.306 MB / 435.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4532, allocations: 61.64 kB / 435.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.4547, allocations: 1.84 MB / 437.2 MB, free: 1.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000533/0.4552, allocations: 0.5429 MB / 437.8 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/0.4559, allocations: 403.6 kB / 438.2 MB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.456, allocations: 309.1 kB / 438.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.4574, allocations: 0.8436 MB / 439.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.4593, allocations: 1.568 MB / 440.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.4628, allocations: 2.563 MB / 443.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.4629, allocations: 11.94 kB / 443.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004716/0.4676, allocations: 2.88 MB / 446.3 MB, free: 7.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.4676, allocations: 16 kB / 446.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.4677, allocations: 24 kB / 446.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.468, allocations: 122.2 kB / 446.5 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.47, allocations: 0.5421 MB / 447 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.4716, allocations: 1.818 MB / 448.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4733, allocations: 115.8 kB / 449 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.4735, allocations: 92 kB / 449.1 MB, free: 4.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002204/0.4757, allocations: 1.2 MB / 450.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.4762, allocations: 241.1 kB / 450.5 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.4803, allocations: 2.44 MB / 452.9 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.4803, allocations: 16 kB / 453 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4803, allocations: 4 kB / 453 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.4803, allocations: 12.08 kB / 453 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1732/0.6535, allocations: 5.816 MB / 458.8 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6536, allocations: 2.219 kB / 458.8 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.6549, allocations: 283.3 kB / 459.1 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008601/0.6558, allocations: 320.3 kB / 459.4 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.6559, allocations: 40.81 kB / 459.4 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/0.6611, allocations: 6.378 MB / 465.8 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6611, allocations: 1.312 kB / 465.8 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/0.6661, allocations: 3.563 MB / 469.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.6672, allocations: 0.4945 MB / 469.9 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.6675, allocations: 35.8 kB / 469.9 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.6686, allocations: 89.38 kB / 470 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.6689, allocations: 120.1 kB / 470.1 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.669, allocations: 44.64 kB / 470.1 MB, free: 100.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.671, allocations: 1.568 MB / 471.7 MB, free: 99.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.671, allocations: 0 / 471.7 MB, free: 99.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002215/0.6732, allocations: 0.673 MB / 472.4 MB, free: 99.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003252/0.6736, allocations: 174.7 kB / 472.5 MB, free: 99.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.6768, allocations: 2.261 MB / 474.8 MB, free: 98.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6768, allocations: 0 / 474.8 MB, free: 98.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.6788, allocations: 1.443 MB / 476.3 MB, free: 97.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.6817, allocations: 0.5653 MB / 476.8 MB, free: 96.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.6928, allocations: 8.652 MB / 485.5 MB, free: 88.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.6945, allocations: 2.657 MB / 488.1 MB, free: 85.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001895/0.6964, allocations: 0.5552 MB / 488.7 MB, free: 85.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.6969, allocations: 159.4 kB / 488.8 MB, free: 84.89 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6969, allocations: 0 / 488.8 MB, free: 84.89 MB / 382.1 MB Notification: Performance of Templates: time 0.04636/0.7433, allocations: 31.19 MB / 0.5078 GB, free: 53.67 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)