Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2071, allocations: 50.55 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04132/0.2484, allocations: 41.76 MB / 451.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.2697, allocations: 11.41 MB / 463.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006388/0.2761, allocations: 299.1 kB / 463.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.2935, allocations: 7.888 MB / 471.3 MB, free: 3.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009946/0.3034, allocations: 3.58 MB / 474.9 MB, free: 368 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005884/0.3093, allocations: 2.306 MB / 477.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.3236, allocations: 12.55 MB / 489.8 MB, free: 1.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03085/0.3545, allocations: 23.52 MB / 0.5013 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007952/0.3625, allocations: 6.381 MB / 0.5075 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009724/0.3722, allocations: 7.276 MB / 0.5146 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003564/0.3758, allocations: 1.828 MB / 0.5164 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/0.3806, allocations: 2.253 MB / 0.5186 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.3837, allocations: 3.647 MB / 0.5221 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007999/0.3917, allocations: 7.097 MB / 0.5291 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2101/0.6019, allocations: 24.05 MB / 0.5526 GB, free: 54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6019, allocations: 3.609 kB / 0.5526 GB, free: 54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.602, allocations: 2.312 kB / 0.5526 GB, free: 54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005439/0.6025, allocations: 0 / 0.5526 GB, free: 54 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03704/0.6396, allocations: 14.23 MB / 0.5665 GB, free: 49.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6396, allocations: 15.31 kB / 0.5665 GB, free: 49.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/0.6681, allocations: 5.211 MB / 0.5716 GB, free: 47.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.6828, allocations: 7.722 MB / 0.5791 GB, free: 44.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005741/0.6834, allocations: 0.8295 MB / 0.5799 GB, free: 44.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003905/0.6873, allocations: 1.093 MB / 0.581 GB, free: 44.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02912/0.7164, allocations: 16.6 MB / 0.5972 GB, free: 30.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/0.7167, allocations: 14 kB / 0.5972 GB, free: 30.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.7179, allocations: 466.5 kB / 0.5976 GB, free: 30.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003689/0.7183, allocations: 0.5734 MB / 0.5982 GB, free: 29.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.7407, allocations: 14.76 MB / 0.6126 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08286/0.8236, allocations: 57.23 MB / 0.6685 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/0.8433, allocations: 21.16 MB / 0.6892 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005/0.8484, allocations: 3.312 MB / 0.6924 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01544/0.8638, allocations: 9.94 MB / 0.7021 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.8639, allocations: 73.55 kB / 0.7022 GB, free: 15.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=313): time 4.308e-06/0.8639, allocations: 0 / 0.7022 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=340): time 0.02966/0.8936, allocations: 16.67 MB / 0.7185 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.8936, allocations: 112.4 kB / 0.7186 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006656/0.9003, allocations: 5.186 MB / 0.7236 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.9005, allocations: 81.7 kB / 0.7237 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003112/0.9036, allocations: 5.175 MB / 0.7288 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008803/0.9045, allocations: 1.197 MB / 0.7299 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.9063, allocations: 1.254 MB / 0.7312 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.9064, allocations: 305.1 kB / 0.7314 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/0.9103, allocations: 2.631 MB / 0.734 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/0.916, allocations: 5.442 MB / 0.7393 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009975/0.926, allocations: 8.508 MB / 0.7476 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.9261, allocations: 24 kB / 0.7477 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01415/0.9402, allocations: 9.218 MB / 0.7567 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-05/0.9403, allocations: 48 kB / 0.7567 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-05/0.9404, allocations: 92 kB / 0.7568 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/0.9427, allocations: 0.9063 MB / 0.7577 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/0.9474, allocations: 1.48 MB / 0.7591 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2148/1.162, allocations: 10.51 MB / 0.7694 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004888/1.167, allocations: 404 kB / 0.7698 GB, free: 225.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004452/1.168, allocations: 338.4 kB / 0.7701 GB, free: 225.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004511/1.172, allocations: 3.755 MB / 0.7738 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000837/1.173, allocations: 0.5047 MB / 0.7743 GB, free: 223.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008646/1.182, allocations: 5.87 MB / 0.78 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/1.182, allocations: 25.06 kB / 0.78 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.182, allocations: 0 / 0.78 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.184, allocations: 0.9769 MB / 0.781 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005704/1.184, allocations: 55.88 kB / 0.781 GB, free: 221.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.186, allocations: 195.8 kB / 0.7812 GB, free: 221 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/1.187, allocations: 262.2 kB / 0.7815 GB, free: 221 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008962/1.196, allocations: 5.506 MB / 0.7868 GB, free: 219 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008158/1.204, allocations: 6.982 MB / 0.7937 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002283/1.206, allocations: 2.055 MB / 0.7957 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004032/1.21, allocations: 3.44 MB / 0.799 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of Backend: time 3.71e-07/1.21, allocations: 0 / 0.799 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00854/1.219, allocations: 5.465 MB / 0.8044 GB, free: 212 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02341/1.242, allocations: 17.98 MB / 0.8219 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1127/1.355, allocations: 82.12 MB / 0.9021 GB, free: 115.9 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)