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.001214/0.001214, 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.001166/0.001166, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.416/1.416, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001083/0.001083, allocations: 43.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2544, allocations: 46.63 MB / 324.9 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01893/0.2733, allocations: 16.37 MB / 341.2 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2852, allocations: 5.354 MB / 346.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.2901, allocations: 87.62 kB / 346.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005759/0.2959, allocations: 1.096 MB / 347.8 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007562/0.3035, allocations: 1.43 MB / 349.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.3073, allocations: 0.9709 MB / 350.2 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008181/0.3155, allocations: 5.122 MB / 355.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006577/0.3221, allocations: 3.826 MB / 359.1 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.326, allocations: 2.176 MB / 361.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004155/0.3302, allocations: 2.603 MB / 363.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.3315, allocations: 0.6133 MB / 364.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.3336, allocations: 0.8473 MB / 365.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.3348, allocations: 1.418 MB / 366.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.3378, allocations: 2.633 MB / 369.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00799/0.3458, allocations: 7.992 MB / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3459, allocations: 0 / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3459, allocations: 0 / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.3461, allocations: 0 / 377.4 MB, free: 15.31 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.0166/0.3627, allocations: 5.37 MB / 382.8 MB, free: 9.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.277e-05/0.3628, allocations: 12.03 kB / 382.8 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/0.3688, allocations: 0.987 MB / 383.8 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00734/0.3761, allocations: 2.707 MB / 386.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003794/0.3766, allocations: 304.2 kB / 386.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.3782, allocations: 407.9 kB / 387.2 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.393, allocations: 5.209 MB / 392.4 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.3933, allocations: 0 / 392.4 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.3945, allocations: 164.1 kB / 392.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/0.3948, allocations: 172 kB / 392.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.4056, allocations: 4.447 MB / 397.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0362/0.4419, allocations: 16.83 MB / 414 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009354/0.4513, allocations: 8.442 MB / 422.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/0.4546, allocations: 1.71 MB / 424.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.4646, allocations: 4.996 MB / 429.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.4647, allocations: 47.88 kB / 429.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 3.897e-06/0.4647, allocations: 0 / 429.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01386/0.4786, allocations: 6.127 MB / 435.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.4787, allocations: 68.72 kB / 435.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005749/0.4844, allocations: 2.302 MB / 437.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4846, allocations: 57.7 kB / 437.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.4861, allocations: 1.84 MB / 439.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005374/0.4867, allocations: 0.5508 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007843/0.4875, allocations: 399.6 kB / 440.5 MB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.4876, allocations: 301.1 kB / 440.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.4892, allocations: 0.8436 MB / 441.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.4913, allocations: 1.564 MB / 443.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.4949, allocations: 2.563 MB / 445.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/0.495, allocations: 11.94 kB / 445.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005283/0.5003, allocations: 2.88 MB / 448.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.5003, allocations: 12 kB / 448.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.03e-05/0.5004, allocations: 27.98 kB / 448.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003813/0.5008, allocations: 130.1 kB / 448.8 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.5029, allocations: 0.5499 MB / 449.4 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.5053, allocations: 1.985 MB / 451.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.5076, allocations: 107.9 kB / 451.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.5078, allocations: 104.1 kB / 451.6 MB, free: 2.09 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.002669/0.5105, allocations: 1.184 MB / 452.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008521/0.5114, allocations: 249 kB / 453 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2101/0.7215, allocations: 2.439 MB / 455.4 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.7216, allocations: 17.23 kB / 455.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.7216, allocations: 6.094 kB / 455.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.7216, allocations: 8.672 kB / 455.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.734, allocations: 5.809 MB / 461.3 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.7341, allocations: 3.703 kB / 461.3 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.7354, allocations: 289.7 kB / 461.6 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009045/0.7363, allocations: 326.3 kB / 461.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.7365, allocations: 41.64 kB / 461.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.7421, allocations: 6.999 MB / 468.9 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.7421, allocations: 8.594 kB / 468.9 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/0.7475, allocations: 3.561 MB / 472.5 MB, free: 98.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.7487, allocations: 0.4895 MB / 473 MB, free: 98.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/0.7492, allocations: 39.39 kB / 473 MB, free: 98.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.7506, allocations: 86.02 kB / 473.1 MB, free: 98.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.7508, allocations: 120.5 kB / 473.2 MB, free: 98.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/0.7509, allocations: 41.28 kB / 473.3 MB, free: 98.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002896/0.7538, allocations: 1.575 MB / 474.8 MB, free: 97.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7539, allocations: 0 / 474.8 MB, free: 97.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002783/0.7567, allocations: 0.6714 MB / 475.5 MB, free: 97.8 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.000414/0.7571, allocations: 171.2 kB / 475.7 MB, free: 97.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005236/0.7623, allocations: 2.892 MB / 478.6 MB, free: 95.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7623, allocations: 0 / 478.6 MB, free: 95.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.7641, allocations: 1.448 MB / 480 MB, free: 93.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.7666, allocations: 0.5955 MB / 480.6 MB, free: 93.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.7771, allocations: 8.644 MB / 489.3 MB, free: 84.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.7788, allocations: 2.659 MB / 491.9 MB, free: 82.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001881/0.7807, allocations: 0.5513 MB / 492.5 MB, free: 81.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.7811, allocations: 171.3 kB / 492.6 MB, free: 81.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7811, allocations: 0 / 492.6 MB, free: 81.32 MB / 382.1 MB Notification: Performance of Templates: time 0.04757/0.8287, allocations: 32.35 MB / 0.5127 GB, free: 48.95 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)