Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001187/0.001187, allocations: 92.53 kB / 16.3 MB, free: 5.582 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.001238/0.001238, allocations: 184.2 kB / 17.2 MB, free: 5.516 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.6/1.6, allocations: 205.4 MB / 223.3 MB, free: 13.15 MB / 190.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.0004682/0.0004683, allocations: 15.44 kB / 280.1 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 47.57 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01627/0.1256, allocations: 13.36 MB / 341.1 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1376, allocations: 5.228 MB / 346.3 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.141, allocations: 83.62 kB / 346.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003539/0.1446, allocations: 0.9328 MB / 347.3 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.1502, allocations: 1.445 MB / 348.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.1527, allocations: 0.7133 MB / 349.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008062/0.1608, allocations: 3.405 MB / 352.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.1651, allocations: 2.681 MB / 355.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.1688, allocations: 1.545 MB / 357.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.1726, allocations: 1.867 MB / 359 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006443/0.1733, allocations: 248 kB / 359.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.1749, allocations: 443.7 kB / 359.6 MB, free: 4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008792/0.1758, allocations: 0.9383 MB / 360.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.1769, allocations: 0.9057 MB / 361.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007152/0.1841, allocations: 6.541 MB / 368 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1841, allocations: 0 / 368 MB, free: 11.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1841, allocations: 0 / 368 MB, free: 11.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001888/0.1843, allocations: 4 kB / 368 MB, free: 11.58 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.01243/0.1968, allocations: 4.579 MB / 372.6 MB, free: 6.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.1968, allocations: 8.031 kB / 372.6 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006574/0.2034, allocations: 1.002 MB / 373.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005777/0.2092, allocations: 2.637 MB / 376.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/0.2095, allocations: 312.1 kB / 376.6 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006891/0.2102, allocations: 395.9 kB / 376.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2021/0.4124, allocations: 5.169 MB / 382.1 MB, free: 26.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.4125, allocations: 2.906 kB / 382.1 MB, free: 26.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.413, allocations: 163.8 kB / 382.3 MB, free: 26.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.4131, allocations: 174.7 kB / 382.4 MB, free: 26.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009906/0.4231, allocations: 4.444 MB / 386.9 MB, free: 26.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.4542, allocations: 16.91 MB / 403.8 MB, free: 21.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/0.4602, allocations: 8.421 MB / 412.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006954/0.4672, allocations: 4.252 MB / 416.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.4673, allocations: 47.38 kB / 416.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.366e-06/0.4673, allocations: 0 / 416.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=171): time 0.01141/0.4787, allocations: 6.572 MB / 423.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.4788, allocations: 73.39 kB / 423.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.4815, allocations: 2.257 MB / 425.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.4817, allocations: 57.69 kB / 425.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009056/0.4826, allocations: 1.82 MB / 427.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.4829, allocations: 0.5857 MB / 427.9 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.483, allocations: 44 kB / 427.9 MB, free: 196 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4832, allocations: 390.3 kB / 428.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.4847, allocations: 0.8866 MB / 429.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.4867, allocations: 1.582 MB / 430.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4885, allocations: 1.168 MB / 431.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.4885, allocations: 7.984 kB / 431.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005009/0.4935, allocations: 2.971 MB / 434.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.4936, allocations: 16.62 kB / 434.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.4936, allocations: 20 kB / 435 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.494, allocations: 125.7 kB / 435.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.4961, allocations: 0.5713 MB / 435.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.4979, allocations: 1.831 MB / 437.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.4998, allocations: 115.8 kB / 437.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.5, allocations: 102.9 kB / 437.7 MB, free: 6.148 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002398/0.5024, allocations: 1.197 MB / 438.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/0.5029, allocations: 245 kB / 439.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.5074, allocations: 2.6 MB / 441.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.5075, allocations: 16 kB / 441.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.5075, allocations: 7.953 kB / 441.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.5075, allocations: 13.5 kB / 441.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.5177, allocations: 6.08 MB / 447.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5177, allocations: 4.125 kB / 447.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.5191, allocations: 323.1 kB / 448.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007967/0.5199, allocations: 320.4 kB / 448.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.52, allocations: 43.98 kB / 448.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006254/0.5263, allocations: 6.442 MB / 455 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5263, allocations: 4.375 kB / 455 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006147/0.5325, allocations: 3.943 MB / 458.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.5339, allocations: 0.5059 MB / 459.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.5343, allocations: 39.95 kB / 459.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.5355, allocations: 99.92 kB / 459.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/0.5357, allocations: 124.8 kB / 459.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/0.5359, allocations: 51.98 kB / 459.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.5382, allocations: 1.529 MB / 461.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5382, allocations: 0 / 461.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002229/0.5405, allocations: 0.6746 MB / 461.9 MB, free: 13.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.5408, allocations: 179.2 kB / 462.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.5447, allocations: 2.372 MB / 464.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5447, allocations: 4 kB / 464.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.5471, allocations: 1.512 MB / 466 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.5496, allocations: 0.5526 MB / 466.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.5621, allocations: 8.429 MB / 475 MB, free: 292 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/0.5645, allocations: 2.743 MB / 477.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002114/0.5667, allocations: 0.5591 MB / 478.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.5671, allocations: 163.4 kB / 478.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5671, allocations: 0 / 478.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of Templates: time 0.05904/0.6262, allocations: 30.22 MB / 0.4967 GB, free: 14.61 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) Environment - environmentSimulation: