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.005817/0.005817, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001174/0.001174, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001205/0.001205, allocations: 51.56 kB / 326.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09726, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01831/0.1156, allocations: 16.59 MB / 389.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1265, allocations: 5.437 MB / 395.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003443/0.1301, allocations: 91.62 kB / 395.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.1346, allocations: 1.274 MB / 396.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.1406, allocations: 1.643 MB / 398.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.1439, allocations: 1.068 MB / 399.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008663/0.1526, allocations: 5.122 MB / 404.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006453/0.1591, allocations: 3.834 MB / 408.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.1629, allocations: 2.181 MB / 410.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005228/0.1682, allocations: 2.603 MB / 413 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001876/0.1701, allocations: 0.6133 MB / 413.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.1734, allocations: 0.8356 MB / 414.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.1762, allocations: 1.414 MB / 415.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005307/0.1816, allocations: 2.637 MB / 418.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.193, allocations: 8.073 MB / 426.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.193, allocations: 0 / 426.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1931, allocations: 0 / 426.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002559/0.1933, allocations: 0 / 426.6 MB, free: 11.64 MB / 366.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.01697/0.2103, allocations: 5.378 MB / 432 MB, free: 6.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2104, allocations: 8.031 kB / 432 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.2159, allocations: 0.9908 MB / 433 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006721/0.2227, allocations: 2.808 MB / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.223, allocations: 300.2 kB / 436.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.2241, allocations: 396 kB / 436.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.235, allocations: 5.221 MB / 441.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.2351, allocations: 3.906 kB / 441.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004495/0.2356, allocations: 164 kB / 441.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.2358, allocations: 172 kB / 442 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008547/0.2443, allocations: 4.443 MB / 446.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3006/0.545, allocations: 16.58 MB / 463 MB, free: 59.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007173/0.5522, allocations: 8.425 MB / 471.5 MB, free: 51.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.5553, allocations: 1.69 MB / 473.2 MB, free: 51.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007702/0.563, allocations: 4.945 MB / 478.1 MB, free: 48.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.5631, allocations: 51.44 kB / 478.1 MB, free: 48.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 4.098e-06/0.5631, allocations: 0 / 478.1 MB, free: 48.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.01044/0.5735, allocations: 6.11 MB / 484.3 MB, free: 44.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.5736, allocations: 72.55 kB / 484.3 MB, free: 44.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.5765, allocations: 2.288 MB / 486.6 MB, free: 43.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/0.5766, allocations: 53.55 kB / 486.7 MB, free: 43.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008534/0.5775, allocations: 1.849 MB / 488.5 MB, free: 41.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.5778, allocations: 0.5429 MB / 489.1 MB, free: 41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/0.5782, allocations: 400.4 kB / 489.5 MB, free: 40.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.5783, allocations: 301.1 kB / 489.7 MB, free: 40.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.5795, allocations: 0.8464 MB / 490.6 MB, free: 40.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.5811, allocations: 1.556 MB / 492.1 MB, free: 38.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.5841, allocations: 2.558 MB / 494.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.5841, allocations: 7.75 kB / 494.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004111/0.5882, allocations: 2.884 MB / 497.6 MB, free: 35.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.5883, allocations: 19.47 kB / 497.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.5883, allocations: 21.81 kB / 497.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.5886, allocations: 127.1 kB / 497.8 MB, free: 35.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.5904, allocations: 0.5368 MB / 498.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.5917, allocations: 1.993 MB / 0.4886 GB, free: 32.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5935, allocations: 107.8 kB / 0.4887 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5936, allocations: 99.98 kB / 0.4888 GB, free: 32.45 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.002187/0.5958, allocations: 1.207 MB / 0.4899 GB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.5962, allocations: 244.9 kB / 0.4902 GB, free: 30.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.5997, allocations: 2.433 MB / 0.4926 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.5997, allocations: 16 kB / 0.4926 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5997, allocations: 4 kB / 0.4926 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.5997, allocations: 7.969 kB / 0.4926 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.6072, allocations: 5.762 MB / 0.4982 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6072, allocations: 4 kB / 0.4982 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.6084, allocations: 291.7 kB / 0.4985 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006897/0.6091, allocations: 318.2 kB / 0.4988 GB, free: 22.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.558e-05/0.6092, allocations: 39.98 kB / 0.4988 GB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004902/0.6141, allocations: 6.957 MB / 0.5056 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6141, allocations: 7.781 kB / 0.5056 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004849/0.619, allocations: 3.548 MB / 0.5091 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.6203, allocations: 0.4979 MB / 0.5096 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.6207, allocations: 32 kB / 0.5096 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6218, allocations: 83.92 kB / 0.5097 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.622, allocations: 125.1 kB / 0.5098 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.6221, allocations: 40 kB / 0.5098 GB, free: 10.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.6242, allocations: 1.555 MB / 0.5114 GB, free: 8.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6242, allocations: 0 / 0.5114 GB, free: 8.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002259/0.6265, allocations: 0.6663 MB / 0.512 GB, free: 7.945 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.0003648/0.6268, allocations: 167 kB / 0.5122 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.6302, allocations: 2.275 MB / 0.5144 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6302, allocations: 0 / 0.5144 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.632, allocations: 1.442 MB / 0.5158 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.6346, allocations: 0.5979 MB / 0.5164 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.6458, allocations: 6.877 MB / 0.5231 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/0.6484, allocations: 2.661 MB / 0.5257 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001981/0.6504, allocations: 0.5552 MB / 0.5262 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.6509, allocations: 159.4 kB / 0.5264 GB, free: 9.094 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6509, allocations: 0 / 0.5264 GB, free: 9.094 MB / 398.1 MB Notification: Performance of Templates: time 0.05961/0.7105, allocations: 30.82 MB / 0.5565 GB, free: 10.28 MB / 430.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)