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.00636/0.00636, allocations: 107.1 kB / 15.74 MB, free: 6.004 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.001154/0.001155, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.00134/0.00134, allocations: 46.66 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01846/0.121, allocations: 16.58 MB / 389.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.1318, allocations: 5.437 MB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.1345, allocations: 87.69 kB / 395.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.1379, allocations: 1.25 MB / 396.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004925/0.1429, allocations: 1.603 MB / 398.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.1455, allocations: 1.052 MB / 399.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0068/0.1523, allocations: 5.126 MB / 404.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/0.1569, allocations: 3.846 MB / 408.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.16, allocations: 2.157 MB / 410.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.1636, allocations: 2.603 MB / 412.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008838/0.1645, allocations: 0.6133 MB / 413.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.1661, allocations: 0.8356 MB / 414.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.1675, allocations: 1.426 MB / 415.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003456/0.1709, allocations: 2.633 MB / 418.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009525/0.1805, allocations: 8.077 MB / 426.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1805, allocations: 0 / 426.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1805, allocations: 4 kB / 426.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.1807, allocations: 0 / 426.5 MB, free: 11.7 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.01403/0.1948, allocations: 5.366 MB / 431.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1948, allocations: 8.031 kB / 431.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/0.2001, allocations: 0.9947 MB / 432.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/0.2065, allocations: 2.8 MB / 435.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.2068, allocations: 304.2 kB / 436 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008828/0.2077, allocations: 404 kB / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.2181, allocations: 5.205 MB / 441.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-05/0.2182, allocations: 7.906 kB / 441.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004112/0.2186, allocations: 164 kB / 441.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.2188, allocations: 176 kB / 441.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008365/0.2272, allocations: 4.439 MB / 446.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2419/0.4691, allocations: 16.58 MB / 462.9 MB, free: 59.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006473/0.4756, allocations: 8.427 MB / 471.4 MB, free: 51.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.4784, allocations: 1.692 MB / 473.1 MB, free: 51.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007684/0.4861, allocations: 4.953 MB / 478 MB, free: 48.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.4861, allocations: 56.45 kB / 478.1 MB, free: 48.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.226e-06/0.4862, allocations: 0 / 478.1 MB, free: 48.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.009929/0.4961, allocations: 6.104 MB / 484.2 MB, free: 44.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4961, allocations: 64.59 kB / 484.2 MB, free: 44.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.499, allocations: 2.286 MB / 486.5 MB, free: 43.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.4991, allocations: 54.92 kB / 486.6 MB, free: 42.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.4999, allocations: 1.848 MB / 488.4 MB, free: 41.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.5002, allocations: 0.5482 MB / 489 MB, free: 40.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/0.5007, allocations: 402.5 kB / 489.4 MB, free: 40.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.5008, allocations: 301.1 kB / 489.7 MB, free: 40.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.502, allocations: 0.8401 MB / 490.5 MB, free: 39.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5034, allocations: 1.56 MB / 492.1 MB, free: 38.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.506, allocations: 2.557 MB / 494.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.5061, allocations: 6.531 kB / 494.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003766/0.5098, allocations: 2.879 MB / 497.5 MB, free: 35.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.5099, allocations: 15.03 kB / 497.5 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.5099, allocations: 29.41 kB / 497.5 MB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.5102, allocations: 125 kB / 497.7 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.512, allocations: 0.5445 MB / 498.2 MB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.5132, allocations: 1.993 MB / 0.4885 GB, free: 32.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.515, allocations: 123.8 kB / 0.4886 GB, free: 32.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.5151, allocations: 92 kB / 0.4887 GB, free: 32.37 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.002464/0.5176, allocations: 1.192 MB / 0.4898 GB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.5182, allocations: 237.1 kB / 0.4901 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.522, allocations: 2.439 MB / 0.4925 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.522, allocations: 16 kB / 0.4925 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.5221, allocations: 4 kB / 0.4925 GB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5221, allocations: 11.95 kB / 0.4925 GB, free: 28.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/0.5309, allocations: 5.766 MB / 0.4981 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.531, allocations: 11.88 kB / 0.4981 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.5321, allocations: 283.6 kB / 0.4984 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/0.5329, allocations: 322.2 kB / 0.4987 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.533, allocations: 35.98 kB / 0.4987 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/0.538, allocations: 6.956 MB / 0.5055 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.538, allocations: 3.938 kB / 0.5055 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/0.5429, allocations: 3.54 MB / 0.509 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.5442, allocations: 0.4902 MB / 0.5095 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/0.5446, allocations: 35.94 kB / 0.5095 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5457, allocations: 83.92 kB / 0.5096 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.546, allocations: 121.1 kB / 0.5097 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.5461, allocations: 47.98 kB / 0.5098 GB, free: 10.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.5481, allocations: 1.552 MB / 0.5113 GB, free: 8.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.5481, allocations: 0 / 0.5113 GB, free: 8.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002265/0.5504, allocations: 0.6685 MB / 0.5119 GB, free: 7.875 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.0003544/0.5508, allocations: 175.6 kB / 0.5121 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003402/0.5542, allocations: 2.277 MB / 0.5143 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5542, allocations: 0 / 0.5143 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.5561, allocations: 1.435 MB / 0.5157 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.5588, allocations: 0.5952 MB / 0.5163 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.5717, allocations: 6.887 MB / 0.523 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/0.5744, allocations: 2.657 MB / 0.5256 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001867/0.5763, allocations: 0.5552 MB / 0.5262 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.5768, allocations: 167.4 kB / 0.5263 GB, free: 9.016 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5768, allocations: 0 / 0.5263 GB, free: 9.016 MB / 398.1 MB Notification: Performance of Templates: time 0.05626/0.6331, allocations: 30.82 MB / 0.5564 GB, free: 10.2 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)