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.0011/0.0011, allocations: 113.9 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 50.53 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01795/0.2282, allocations: 17.28 MB / 427.2 MB, free: 196 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009588/0.2378, allocations: 5.698 MB / 432.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.2402, allocations: 103.6 kB / 433 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.2437, allocations: 1.308 MB / 434.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.2482, allocations: 1.627 MB / 436 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.2508, allocations: 1.102 MB / 437.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006059/0.2569, allocations: 5.223 MB / 442.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.2625, allocations: 4.315 MB / 446.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.2651, allocations: 2.204 MB / 448.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/0.269, allocations: 2.635 MB / 451.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.2702, allocations: 0.6133 MB / 452.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.2724, allocations: 0.8591 MB / 452.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.274, allocations: 1.418 MB / 454.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00293/0.2769, allocations: 2.645 MB / 457 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008215/0.2851, allocations: 8.163 MB / 465.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2852, allocations: 0 / 465.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2852, allocations: 0 / 465.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.2853, allocations: 0 / 465.1 MB, free: 10.09 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.01218/0.2975, allocations: 5.525 MB / 470.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2976, allocations: 12.03 kB / 470.7 MB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005414/0.303, allocations: 1.052 MB / 471.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005435/0.3084, allocations: 3.009 MB / 474.7 MB, free: 356 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3087, allocations: 312.1 kB / 475 MB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006262/0.3093, allocations: 396 kB / 475.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00847/0.3178, allocations: 5.221 MB / 480.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-05/0.3179, allocations: 11.89 kB / 480.7 MB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003644/0.3183, allocations: 164 kB / 480.8 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.3184, allocations: 172 kB / 481 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007393/0.3258, allocations: 4.462 MB / 485.5 MB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.3485, allocations: 16.71 MB / 0.4904 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007522/0.356, allocations: 8.679 MB / 0.4989 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003802/0.3599, allocations: 2.127 MB / 0.501 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008092/0.368, allocations: 5.765 MB / 0.5066 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.368, allocations: 51.86 kB / 0.5066 GB, free: 2.281 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 2.866e-06/0.368, allocations: 4 kB / 0.5066 GB, free: 2.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01124/0.3793, allocations: 6.38 MB / 0.5129 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3793, allocations: 68.72 kB / 0.5129 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.3823, allocations: 2.315 MB / 0.5152 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/0.3824, allocations: 53.7 kB / 0.5152 GB, free: 9.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.3836, allocations: 1.909 MB / 0.5171 GB, free: 7.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.384, allocations: 0.5772 MB / 0.5177 GB, free: 6.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005748/0.3846, allocations: 399.9 kB / 0.5181 GB, free: 6.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.3847, allocations: 301.1 kB / 0.5183 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.3861, allocations: 0.8592 MB / 0.5192 GB, free: 5.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.388, allocations: 1.567 MB / 0.5207 GB, free: 3.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/0.3914, allocations: 2.582 MB / 0.5232 GB, free: 412 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3914, allocations: 8 kB / 0.5232 GB, free: 404 kB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004565/0.396, allocations: 2.983 MB / 0.5261 GB, free: 13.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.396, allocations: 12 kB / 0.5262 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.396, allocations: 24 kB / 0.5262 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.3965, allocations: 181.9 kB / 0.5264 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.3985, allocations: 0.5266 MB / 0.5269 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.4008, allocations: 2.438 MB / 0.5293 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.4022, allocations: 111.8 kB / 0.5294 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.4024, allocations: 99.88 kB / 0.5295 GB, free: 9.832 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.4042, allocations: 1.203 MB / 0.5306 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.4045, allocations: 262.4 kB / 0.5309 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.4088, allocations: 2.527 MB / 0.5333 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.4089, allocations: 11.95 kB / 0.5334 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4089, allocations: 4 kB / 0.5334 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008004/0.4097, allocations: 0.5071 MB / 0.5339 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.41, allocations: 32 kB / 0.5339 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.4111, allocations: 87.86 kB / 0.534 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.4114, allocations: 129.1 kB / 0.5341 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004792/0.4162, allocations: 2.334 MB / 0.5364 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1766/0.5928, allocations: 3.026 MB / 0.5393 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001709/0.5945, allocations: 0.8405 MB / 0.5402 GB, free: 122.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002469/0.597, allocations: 1.568 MB / 0.5417 GB, free: 121.7 MB / 462.1 MB Notification: Performance of Backend: time 5.31e-07/0.597, allocations: 0 / 0.5417 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.6006, allocations: 1.843 MB / 0.5435 GB, free: 120.9 MB / 462.1 MB Notification: Performance of SimCode: time 0.008494/0.6091, allocations: 7.501 MB / 0.5508 GB, free: 117.1 MB / 462.1 MB Notification: Performance of Templates: time 0.04926/0.6584, allocations: 38.76 MB / 0.5887 GB, free: 84.18 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)