Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001031/0.001031, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.001231/0.001231, allocations: 182 kB / 17.56 MB, free: 6.203 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.419/1.419, allocations: 205.4 MB / 223.7 MB, free: 12.99 MB / 190.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.0007277/0.0007277, allocations: 12 kB / 280.7 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1165, allocations: 47.58 MB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01695/0.1335, allocations: 15.63 MB / 344 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.1446, allocations: 5.329 MB / 349.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.1474, allocations: 87.62 kB / 349.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.1511, allocations: 1.081 MB / 350.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.1564, allocations: 1.426 MB / 351.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.1591, allocations: 0.967 MB / 352.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007854/0.1669, allocations: 5.308 MB / 358.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005694/0.1727, allocations: 3.156 MB / 361.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.1761, allocations: 1.602 MB / 362.9 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004458/0.1806, allocations: 2.135 MB / 365 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.1818, allocations: 252 kB / 365.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.1845, allocations: 487.7 kB / 365.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.1863, allocations: 0.9884 MB / 366.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003925/0.1903, allocations: 2.178 MB / 368.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008091/0.1984, allocations: 7.56 MB / 376.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.1985, allocations: 8 kB / 376.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1985, allocations: 0 / 376.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002929/0.1988, allocations: 0 / 376.5 MB, free: 3.285 MB / 318.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.2306/0.4294, allocations: 4.544 MB / 381 MB, free: 46.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4295, allocations: 11.19 kB / 381.1 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006593/0.4361, allocations: 0.9985 MB / 382.1 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/0.4431, allocations: 2.705 MB / 384.8 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.4434, allocations: 309.2 kB / 385.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009374/0.4444, allocations: 396.6 kB / 385.5 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.4558, allocations: 5.231 MB / 390.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.731e-05/0.456, allocations: 7.234 kB / 390.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/0.4564, allocations: 163.1 kB / 390.8 MB, free: 43.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/0.4566, allocations: 173.8 kB / 391 MB, free: 43.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009192/0.4658, allocations: 4.482 MB / 395.5 MB, free: 41.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.4897, allocations: 16.95 MB / 412.4 MB, free: 26.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005503/0.4953, allocations: 8.428 MB / 420.9 MB, free: 17.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/0.4978, allocations: 1.732 MB / 422.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007041/0.5048, allocations: 5.011 MB / 427.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5049, allocations: 51.88 kB / 427.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=156): time 3.256e-06/0.5049, allocations: 3.938 kB / 427.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=159): time 0.01092/0.5158, allocations: 6.214 MB / 433.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5159, allocations: 68.72 kB / 434 MB, free: 3.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00319/0.5191, allocations: 2.31 MB / 436.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.5193, allocations: 53.7 kB / 436.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.5203, allocations: 1.85 MB / 438.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/0.5208, allocations: 0.5435 MB / 438.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.521, allocations: 178 kB / 438.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5211, allocations: 301.1 kB / 439.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.5227, allocations: 0.8631 MB / 440 MB, free: 13.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.5248, allocations: 1.575 MB / 441.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/0.5286, allocations: 2.598 MB / 444.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.5286, allocations: 8 kB / 444.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004988/0.5336, allocations: 2.915 MB / 447.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.5336, allocations: 16.62 kB / 447.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.5337, allocations: 24 kB / 447.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.5341, allocations: 122.2 kB / 447.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.5361, allocations: 0.5655 MB / 447.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.5379, allocations: 1.817 MB / 449.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.5399, allocations: 123.8 kB / 449.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.54, allocations: 100.1 kB / 449.9 MB, free: 3.129 MB / 334.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.002306/0.5424, allocations: 1.192 MB / 451.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005536/0.5429, allocations: 245 kB / 451.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004479/0.5474, allocations: 2.476 MB / 453.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.5475, allocations: 16 kB / 453.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.5475, allocations: 8 kB / 453.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.5475, allocations: 7.969 kB / 453.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009821/0.5573, allocations: 5.839 MB / 459.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5574, allocations: 4 kB / 459.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.5586, allocations: 299.8 kB / 460 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000848/0.5595, allocations: 321.6 kB / 460.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.5596, allocations: 39.98 kB / 460.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.5659, allocations: 6.397 MB / 466.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.566, allocations: 7.938 kB / 466.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.5718, allocations: 3.597 MB / 470.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.5731, allocations: 0.5018 MB / 470.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.5734, allocations: 35.94 kB / 470.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.5746, allocations: 95.92 kB / 471 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.5749, allocations: 121.1 kB / 471.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.575, allocations: 47.98 kB / 471.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002567/0.5776, allocations: 1.568 MB / 472.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5776, allocations: 0 / 472.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002546/0.5801, allocations: 0.668 MB / 473.4 MB, free: 10.96 MB / 366.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.0003882/0.5805, allocations: 176.4 kB / 473.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00408/0.5846, allocations: 2.301 MB / 475.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5846, allocations: 8.125 kB / 475.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.5871, allocations: 1.454 MB / 477.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/0.5906, allocations: 0.5718 MB / 477.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.6038, allocations: 8.796 MB / 486.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/0.6063, allocations: 2.661 MB / 489.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002241/0.6086, allocations: 0.5513 MB / 489.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.6091, allocations: 163.4 kB / 490 MB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6091, allocations: 0 / 490 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Templates: time 0.05757/0.6667, allocations: 30.85 MB / 0.5087 GB, free: 11.28 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)