Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001489/0.001489, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2055, allocations: 50.54 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01743/0.223, allocations: 17.27 MB / 427.2 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009374/0.2324, allocations: 5.691 MB / 432.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.234, allocations: 107.6 kB / 433 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.2366, allocations: 1.277 MB / 434.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.2398, allocations: 1.58 MB / 435.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.2419, allocations: 1.1 MB / 437 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005109/0.247, allocations: 5.234 MB / 442.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004426/0.2515, allocations: 4.311 MB / 446.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.2538, allocations: 2.196 MB / 448.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.2567, allocations: 2.635 MB / 451.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007403/0.2574, allocations: 0.6133 MB / 452 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.2589, allocations: 0.8552 MB / 452.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.26, allocations: 1.43 MB / 454.3 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.2623, allocations: 2.649 MB / 456.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006831/0.2692, allocations: 8.132 MB / 465 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2692, allocations: 0 / 465 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2692, allocations: 0 / 465 MB, free: 10.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.135e-05/0.2693, allocations: 0 / 465 MB, free: 10.2 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01133/0.2806, allocations: 5.417 MB / 470.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2807, allocations: 8.031 kB / 470.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/0.286, allocations: 1.018 MB / 471.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.2913, allocations: 3.003 MB / 474.5 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.2915, allocations: 308.2 kB / 474.8 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005646/0.2921, allocations: 400 kB / 475.2 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007998/0.3001, allocations: 5.221 MB / 480.4 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-05/0.3002, allocations: 7.906 kB / 480.4 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003693/0.3006, allocations: 164 kB / 480.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.3007, allocations: 168 kB / 480.7 MB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/0.3079, allocations: 4.466 MB / 485.2 MB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/0.3302, allocations: 16.66 MB / 0.4901 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/0.3375, allocations: 8.694 MB / 0.4986 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/0.3413, allocations: 2.131 MB / 0.5007 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008064/0.3494, allocations: 5.753 MB / 0.5063 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.3494, allocations: 55.81 kB / 0.5063 GB, free: 2.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 3.046e-06/0.3494, allocations: 4 kB / 0.5063 GB, free: 2.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01131/0.3607, allocations: 6.299 MB / 0.5125 GB, free: 12.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3608, allocations: 72.72 kB / 0.5126 GB, free: 12.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.364, allocations: 2.319 MB / 0.5148 GB, free: 9.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.3641, allocations: 53.7 kB / 0.5149 GB, free: 9.641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.3653, allocations: 1.856 MB / 0.5167 GB, free: 7.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/0.3658, allocations: 0.5507 MB / 0.5172 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005853/0.3664, allocations: 391.6 kB / 0.5176 GB, free: 6.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.3665, allocations: 305.1 kB / 0.5179 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.3679, allocations: 0.8592 MB / 0.5187 GB, free: 5.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.3698, allocations: 1.571 MB / 0.5203 GB, free: 3.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.3733, allocations: 2.578 MB / 0.5228 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.3733, allocations: 8 kB / 0.5228 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004747/0.378, allocations: 2.974 MB / 0.5257 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3781, allocations: 16 kB / 0.5257 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.3781, allocations: 20.53 kB / 0.5257 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004346/0.3785, allocations: 181.5 kB / 0.5259 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.3805, allocations: 0.5265 MB / 0.5264 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.3829, allocations: 2.437 MB / 0.5288 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.3844, allocations: 107.9 kB / 0.5289 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.3846, allocations: 107.9 kB / 0.529 GB, free: 10.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001763/0.3863, allocations: 1.2 MB / 0.5302 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.3867, allocations: 252.9 kB / 0.5304 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.3909, allocations: 2.527 MB / 0.5329 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.391, allocations: 7.969 kB / 0.5329 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.391, allocations: 0 / 0.5329 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009423/0.3919, allocations: 0.4902 MB / 0.5334 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.3922, allocations: 31.98 kB / 0.5334 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.3933, allocations: 87.88 kB / 0.5335 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.3935, allocations: 129.1 kB / 0.5336 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004705/0.3982, allocations: 2.326 MB / 0.5359 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004388/0.4026, allocations: 3.02 MB / 0.5388 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1732/0.5758, allocations: 0.8372 MB / 0.5396 GB, free: 122.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002396/0.5783, allocations: 1.571 MB / 0.5412 GB, free: 122.3 MB / 462.1 MB Notification: Performance of Backend: time 5.71e-07/0.5783, allocations: 0.9375 kB / 0.5412 GB, free: 122.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.5818, allocations: 1.846 MB / 0.543 GB, free: 121.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.008421/0.5902, allocations: 7.368 MB / 0.5502 GB, free: 117.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04749/0.6377, allocations: 38.76 MB / 0.588 GB, free: 85.11 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1)