Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007465/0.007465, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001382/0.001382, allocations: 194.9 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.438/1.438, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.00135/0.00135, allocations: 50.58 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1044, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02737/0.1318, allocations: 16.59 MB / 389.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.148, allocations: 5.429 MB / 395.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00482/0.1529, allocations: 91.62 kB / 395.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005918/0.1589, allocations: 1.274 MB / 396.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008693/0.1676, allocations: 1.646 MB / 398.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.1711, allocations: 1.068 MB / 399.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008488/0.1796, allocations: 5.11 MB / 404.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005018/0.1846, allocations: 3.845 MB / 408.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.1886, allocations: 2.18 MB / 410.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/0.1936, allocations: 2.607 MB / 413 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.1953, allocations: 0.6094 MB / 413.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.198, allocations: 0.8318 MB / 414.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.1994, allocations: 1.418 MB / 415.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004092/0.2035, allocations: 2.641 MB / 418.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.2155, allocations: 8.097 MB / 426.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2155, allocations: 0 / 426.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2155, allocations: 7.938 kB / 426.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000262/0.2158, allocations: 0 / 426.6 MB, free: 11.57 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.01576/0.2316, allocations: 5.49 MB / 432.1 MB, free: 5.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2316, allocations: 12.03 kB / 432.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/0.2369, allocations: 1.009 MB / 433.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006755/0.2437, allocations: 2.821 MB / 436 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.244, allocations: 308.2 kB / 436.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.2451, allocations: 395.9 kB / 436.7 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009977/0.255, allocations: 5.213 MB / 441.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/0.2552, allocations: 7.891 kB / 441.9 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003766/0.2556, allocations: 164 kB / 442 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.2557, allocations: 168 kB / 442.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008294/0.264, allocations: 4.447 MB / 446.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/0.5295, allocations: 16.62 MB / 463.3 MB, free: 59.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006543/0.5361, allocations: 8.419 MB / 471.7 MB, free: 51.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.5389, allocations: 1.701 MB / 473.4 MB, free: 50.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007872/0.5468, allocations: 4.946 MB / 478.3 MB, free: 47.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.5469, allocations: 53.69 kB / 478.4 MB, free: 47.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 2.955e-06/0.5469, allocations: 1.344 kB / 478.4 MB, free: 47.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.009776/0.5567, allocations: 6.163 MB / 484.5 MB, free: 44.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.5567, allocations: 72.5 kB / 484.6 MB, free: 44.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.5595, allocations: 2.29 MB / 486.9 MB, free: 42.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5596, allocations: 51.92 kB / 487 MB, free: 42.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009774/0.5606, allocations: 1.901 MB / 488.9 MB, free: 41.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.561, allocations: 0.5748 MB / 489.4 MB, free: 40.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.5615, allocations: 401 kB / 489.8 MB, free: 40.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.5615, allocations: 305.1 kB / 490.1 MB, free: 40.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.5627, allocations: 0.84 MB / 491 MB, free: 39.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.5642, allocations: 1.563 MB / 492.5 MB, free: 38.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.5668, allocations: 2.556 MB / 495.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.5669, allocations: 7.781 kB / 495.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004082/0.571, allocations: 2.895 MB / 498 MB, free: 35.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.571, allocations: 17.88 kB / 498 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.571, allocations: 21.78 kB / 498 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.5714, allocations: 127.6 kB / 498.1 MB, free: 35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.5731, allocations: 0.542 MB / 498.7 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.5745, allocations: 1.993 MB / 0.4889 GB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.5762, allocations: 119.8 kB / 0.4891 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.5764, allocations: 92 kB / 0.4891 GB, free: 32.23 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.001911/0.5783, allocations: 1.199 MB / 0.4903 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.5786, allocations: 254.4 kB / 0.4906 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.582, allocations: 2.433 MB / 0.4929 GB, free: 28.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.582, allocations: 16.88 kB / 0.493 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.582, allocations: 4 kB / 0.493 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.582, allocations: 7.969 kB / 0.493 GB, free: 28.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008151/0.5902, allocations: 5.774 MB / 0.4986 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.5902, allocations: 4 kB / 0.4986 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.5914, allocations: 291.7 kB / 0.4989 GB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000728/0.5921, allocations: 318.2 kB / 0.4992 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.5922, allocations: 39.98 kB / 0.4992 GB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.597, allocations: 6.959 MB / 0.506 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5971, allocations: 0 / 0.506 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.6021, allocations: 3.561 MB / 0.5095 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.6032, allocations: 0.4993 MB / 0.51 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.6035, allocations: 35.94 kB / 0.51 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6046, allocations: 80.17 kB / 0.5101 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.6048, allocations: 127.3 kB / 0.5102 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.6049, allocations: 51.98 kB / 0.5103 GB, free: 9.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001956/0.6069, allocations: 1.549 MB / 0.5118 GB, free: 8.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6069, allocations: 0 / 0.5118 GB, free: 8.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002056/0.609, allocations: 0.6679 MB / 0.5124 GB, free: 7.699 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.0003056/0.6093, allocations: 177.3 kB / 0.5126 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.6123, allocations: 2.273 MB / 0.5148 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6124, allocations: 0 / 0.5148 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.6141, allocations: 1.447 MB / 0.5162 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.6164, allocations: 0.6018 MB / 0.5168 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6273, allocations: 6.989 MB / 0.5237 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/0.63, allocations: 2.665 MB / 0.5263 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00199/0.632, allocations: 0.5513 MB / 0.5268 GB, free: 8.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.6325, allocations: 167.4 kB / 0.527 GB, free: 8.691 MB / 398.1 MB Notification: Performance of SimCode: time 1.974e-06/0.6325, allocations: 0 / 0.527 GB, free: 8.691 MB / 398.1 MB Notification: Performance of Templates: time 0.0574/0.6899, allocations: 30.83 MB / 0.5571 GB, free: 9.867 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)