Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 110.9 kB / 18.45 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.001203/0.001203, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001167, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2163, allocations: 50.54 MB / 410 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01536/0.2317, allocations: 14.85 MB / 424.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008137/0.2398, allocations: 4.863 MB / 429.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.2419, allocations: 87.69 kB / 429.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.2449, allocations: 1.126 MB / 430.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.2488, allocations: 1.472 MB / 432.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.2511, allocations: 0.9835 MB / 433.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005686/0.2568, allocations: 5.11 MB / 438.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004683/0.2615, allocations: 3.859 MB / 442.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.2645, allocations: 2.36 MB / 444.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.2685, allocations: 2.764 MB / 447.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009109/0.2694, allocations: 0.625 MB / 448.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.271, allocations: 0.8396 MB / 448.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.2722, allocations: 1.453 MB / 450.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.2749, allocations: 2.653 MB / 453 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008044/0.283, allocations: 8.347 MB / 461.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.283, allocations: 4 kB / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.283, allocations: 0 / 461.3 MB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001274/0.2831, allocations: 0 / 461.3 MB, free: 14 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01141/0.2945, allocations: 5.493 MB / 466.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2946, allocations: 12.03 kB / 466.9 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.2992, allocations: 0.9544 MB / 467.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/0.3039, allocations: 3.053 MB / 470.9 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.3042, allocations: 299.7 kB / 471.2 MB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/0.3047, allocations: 384 kB / 471.5 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.3129, allocations: 5.387 MB / 476.9 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/0.313, allocations: 3.953 kB / 476.9 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.3134, allocations: 159.9 kB / 477.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.3135, allocations: 171.7 kB / 477.2 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007623/0.3212, allocations: 4.734 MB / 482 MB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/0.345, allocations: 16.81 MB / 498.8 MB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/0.3535, allocations: 8.803 MB / 0.4957 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/0.3564, allocations: 1.858 MB / 0.4975 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00808/0.3645, allocations: 5.097 MB / 0.5025 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.3664, allocations: 1.321 MB / 0.5038 GB, free: 5.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 3.316e-06/0.3664, allocations: 0 / 0.5038 GB, free: 5.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.01707/0.3835, allocations: 8.715 MB / 0.5123 GB, free: 12.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.3836, allocations: 235.6 kB / 0.5125 GB, free: 12.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/0.3866, allocations: 2.344 MB / 0.5148 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.3868, allocations: 57.7 kB / 0.5149 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.3882, allocations: 1.801 MB / 0.5166 GB, free: 8.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.3886, allocations: 0.643 MB / 0.5172 GB, free: 7.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006047/0.3892, allocations: 411.9 kB / 0.5176 GB, free: 7.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.3893, allocations: 305.1 kB / 0.5179 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.391, allocations: 1.019 MB / 0.5189 GB, free: 5.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.393, allocations: 1.63 MB / 0.5205 GB, free: 4.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.3965, allocations: 2.645 MB / 0.5231 GB, free: 1.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3966, allocations: 4 kB / 0.5231 GB, free: 1.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005468/0.402, allocations: 3.583 MB / 0.5266 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4021, allocations: 15.94 kB / 0.5266 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.4021, allocations: 16 kB / 0.5266 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.4038, allocations: 0.7785 MB / 0.5274 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4053, allocations: 395.3 kB / 0.5278 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1872/0.5925, allocations: 11.83 MB / 0.5393 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.5945, allocations: 138 kB / 0.5395 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.5947, allocations: 87.36 kB / 0.5395 GB, free: 121 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,8,100.0%), (9,25,33.3%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002325/0.597, allocations: 1.322 MB / 0.5408 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.5974, allocations: 265.7 kB / 0.5411 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/0.6026, allocations: 3.372 MB / 0.5444 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.6026, allocations: 14.84 kB / 0.5444 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6026, allocations: 4.562 kB / 0.5444 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007876/0.6034, allocations: 0.5637 MB / 0.5449 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6037, allocations: 42.89 kB / 0.545 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.6047, allocations: 97.97 kB / 0.5451 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/0.6051, allocations: 229 kB / 0.5453 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005431/0.6105, allocations: 3.329 MB / 0.5485 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00436/0.6149, allocations: 3.757 MB / 0.5522 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001248/0.6162, allocations: 1.126 MB / 0.5533 GB, free: 116.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001724/0.6179, allocations: 1.608 MB / 0.5549 GB, free: 116.1 MB / 462.1 MB Notification: Performance of Backend: time 4.81e-07/0.6179, allocations: 0 / 0.5549 GB, free: 116.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.6218, allocations: 2.655 MB / 0.5575 GB, free: 114.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.009199/0.631, allocations: 8.275 MB / 0.5656 GB, free: 107.3 MB / 462.1 MB Notification: Performance of Templates: time 0.05751/0.6885, allocations: 44.79 MB / 0.6093 GB, free: 62.97 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)