Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007644/0.007644, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.377/1.377, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004299/0.00043, allocations: 12 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1904, allocations: 47.58 MB / 327.1 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.03963/0.23, allocations: 38.98 MB / 366 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02128/0.2513, allocations: 10.86 MB / 376.9 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007566/0.2589, allocations: 243.2 kB / 377.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007077/0.266, allocations: 2.185 MB / 379.3 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.2787, allocations: 3.289 MB / 382.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007394/0.2861, allocations: 1.925 MB / 384.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01839/0.3045, allocations: 12.69 MB / 397.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03842/0.343, allocations: 22.24 MB / 419.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008242/0.3513, allocations: 4.545 MB / 424 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009133/0.3604, allocations: 5.636 MB / 429.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002813/0.3633, allocations: 0.7148 MB / 430.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/0.368, allocations: 1.14 MB / 431.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004236/0.3722, allocations: 2.374 MB / 433.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.3845, allocations: 5.723 MB / 439.6 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4025/0.7871, allocations: 22.68 MB / 462.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.7871, allocations: 1.422 kB / 462.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.7871, allocations: 0 / 462.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001003/0.7882, allocations: 1.25 kB / 462.3 MB, free: 38.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.03526/0.8234, allocations: 12.04 MB / 474.3 MB, free: 35.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8235, allocations: 9.281 kB / 474.3 MB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03433/0.8578, allocations: 6.181 MB / 480.5 MB, free: 33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.8735, allocations: 6.996 MB / 487.5 MB, free: 31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.8746, allocations: 0.8558 MB / 488.4 MB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007177/0.8818, allocations: 1.115 MB / 489.5 MB, free: 30.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04693/0.9287, allocations: 17.21 MB / 0.4948 GB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/0.9292, allocations: 11.89 kB / 0.4948 GB, free: 21.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004496/0.9337, allocations: 470.9 kB / 0.4953 GB, free: 21.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005792/0.9343, allocations: 0.6091 MB / 0.4959 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/0.9693, allocations: 15.62 MB / 0.5111 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1086/1.078, allocations: 58.8 MB / 0.5685 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/1.1, allocations: 20.93 MB / 0.589 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006251/1.106, allocations: 3.4 MB / 0.5923 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/1.124, allocations: 9.71 MB / 0.6018 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/1.124, allocations: 73.56 kB / 0.6019 GB, free: 4.785 MB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 6.061e-06/1.124, allocations: 0 / 0.6019 GB, free: 4.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=346): time 0.03923/1.163, allocations: 17.09 MB / 0.6185 GB, free: 3.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/1.163, allocations: 112.4 kB / 0.6187 GB, free: 3.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1885/1.352, allocations: 5.416 MB / 0.6239 GB, free: 191.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000594/1.352, allocations: 82.75 kB / 0.624 GB, free: 191.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003362/1.356, allocations: 5.334 MB / 0.6292 GB, free: 189 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.357, allocations: 1.226 MB / 0.6304 GB, free: 188.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000823/1.358, allocations: 0.5245 MB / 0.6309 GB, free: 187.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.962e-05/1.358, allocations: 310.2 kB / 0.6312 GB, free: 187.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/1.362, allocations: 2.811 MB / 0.634 GB, free: 186.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004819/1.366, allocations: 5.869 MB / 0.6397 GB, free: 181.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009005/1.375, allocations: 9.097 MB / 0.6486 GB, free: 174.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.797e-05/1.376, allocations: 29.47 kB / 0.6486 GB, free: 174.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01604/1.392, allocations: 9.832 MB / 0.6582 GB, free: 170.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/1.392, allocations: 46.53 kB / 0.6583 GB, free: 170.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.392, allocations: 104.1 kB / 0.6584 GB, free: 170.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/1.394, allocations: 0.9336 MB / 0.6593 GB, free: 170.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005269/1.399, allocations: 1.59 MB / 0.6608 GB, free: 170.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/1.41, allocations: 9.799 MB / 0.6704 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005894/1.416, allocations: 445.8 kB / 0.6708 GB, free: 161.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008131/1.417, allocations: 355.2 kB / 0.6712 GB, free: 161 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * 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 (821): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005495/1.422, allocations: 3.836 MB / 0.6749 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.423, allocations: 0.5176 MB / 0.6754 GB, free: 157.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009087/1.432, allocations: 6.037 MB / 0.6813 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00407/1.436, allocations: 3.142 MB / 0.6844 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/1.436, allocations: 12 kB / 0.6844 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/1.436, allocations: 17.91 kB / 0.6844 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02097/1.457, allocations: 14.9 MB / 0.699 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.457, allocations: 4 kB / 0.699 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/1.46, allocations: 0.6053 MB / 0.6996 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/1.462, allocations: 0.9159 MB / 0.7004 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/1.462, allocations: 79.98 kB / 0.7005 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.473, allocations: 12.91 MB / 0.7131 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.473, allocations: 11.94 kB / 0.7131 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.486, allocations: 8.744 MB / 0.7217 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/1.489, allocations: 1.037 MB / 0.7227 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009115/1.49, allocations: 71.94 kB / 0.7228 GB, free: 109.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.492, allocations: 215.8 kB / 0.723 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005118/1.493, allocations: 258.5 kB / 0.7232 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.493, allocations: 99.98 kB / 0.7233 GB, free: 109.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004624/1.498, allocations: 3.583 MB / 0.7268 GB, free: 105.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.498, allocations: 0 / 0.7268 GB, free: 105.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00675/1.504, allocations: 1.834 MB / 0.7286 GB, free: 103.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * 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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006928/1.505, allocations: 272.5 kB / 0.7289 GB, free: 103.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/1.516, allocations: 7.232 MB / 0.7359 GB, free: 96.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.516, allocations: 5.812 kB / 0.7359 GB, free: 96.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005308/1.521, allocations: 3.478 MB / 0.7393 GB, free: 92.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/1.531, allocations: 1.127 MB / 0.7404 GB, free: 91.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.561, allocations: 23.36 MB / 0.7632 GB, free: 68.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006518/1.568, allocations: 6.668 MB / 0.7698 GB, free: 61.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005538/1.573, allocations: 1.937 MB / 0.7716 GB, free: 59.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.574, allocations: 384.6 kB / 0.772 GB, free: 59.14 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/1.574, allocations: 0 / 0.772 GB, free: 59.14 MB / 494.1 MB Notification: Performance of Templates: time 0.3131/1.888, allocations: 71.41 MB / 0.8417 GB, free: 155.6 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)