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.001291/0.001291, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.204, allocations: 50.54 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01517/0.2192, allocations: 14.86 MB / 424.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006907/0.2261, allocations: 4.859 MB / 429.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.227, allocations: 91.62 kB / 429.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.229, allocations: 1.122 MB / 430.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.2317, allocations: 1.468 MB / 432.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.2334, allocations: 0.9768 MB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004435/0.2379, allocations: 5.106 MB / 438.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003906/0.2418, allocations: 3.866 MB / 442.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.2442, allocations: 2.36 MB / 444.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.2471, allocations: 2.76 MB / 447.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006757/0.2478, allocations: 0.625 MB / 448 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.249, allocations: 0.8435 MB / 448.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.2502, allocations: 1.449 MB / 450.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.2524, allocations: 2.657 MB / 453 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006713/0.2591, allocations: 8.321 MB / 461.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2591, allocations: 3.938 kB / 461.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2592, allocations: 0 / 461.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.584e-05/0.2592, allocations: 0 / 461.3 MB, free: 13.97 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.01094/0.2702, allocations: 5.38 MB / 466.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2702, allocations: 12.03 kB / 466.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.2749, allocations: 0.9362 MB / 467.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.2794, allocations: 3.031 MB / 470.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.2796, allocations: 295.7 kB / 471 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005662/0.2802, allocations: 391.8 kB / 471.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008299/0.2885, allocations: 5.379 MB / 476.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.192e-05/0.2886, allocations: 7.938 kB / 476.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.289, allocations: 164 kB / 476.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.2891, allocations: 167.7 kB / 477.1 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007565/0.2967, allocations: 4.734 MB / 481.8 MB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02192/0.3186, allocations: 16.76 MB / 498.6 MB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008175/0.3268, allocations: 8.807 MB / 0.4955 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/0.3295, allocations: 1.862 MB / 0.4973 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007418/0.3369, allocations: 5.093 MB / 0.5023 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001966/0.3389, allocations: 1.321 MB / 0.5036 GB, free: 5.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 3.787e-06/0.3389, allocations: 0 / 0.5036 GB, free: 5.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.01742/0.3564, allocations: 8.647 MB / 0.512 GB, free: 13.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.3565, allocations: 235.6 kB / 0.5122 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.3595, allocations: 2.347 MB / 0.5145 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.3596, allocations: 57.7 kB / 0.5146 GB, free: 10.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.3609, allocations: 1.757 MB / 0.5163 GB, free: 8.551 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004591/0.3614, allocations: 0.6162 MB / 0.5169 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/0.362, allocations: 411.7 kB / 0.5173 GB, free: 7.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.3621, allocations: 305.1 kB / 0.5176 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.3638, allocations: 1.023 MB / 0.5186 GB, free: 6.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.3658, allocations: 1.626 MB / 0.5202 GB, free: 4.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.3695, allocations: 2.648 MB / 0.5227 GB, free: 1.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3695, allocations: 7.938 kB / 0.5227 GB, free: 1.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005541/0.375, allocations: 3.574 MB / 0.5262 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3751, allocations: 12 kB / 0.5262 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.3751, allocations: 16 kB / 0.5263 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.3768, allocations: 0.7749 MB / 0.527 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.3783, allocations: 387.3 kB / 0.5274 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.39, allocations: 11.82 MB / 0.5389 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3915, allocations: 131.8 kB / 0.5391 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.3917, allocations: 88.05 kB / 0.5391 GB, free: 20 kB / 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.1742/0.5659, allocations: 1.322 MB / 0.5404 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.5664, allocations: 250.9 kB / 0.5407 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.5718, allocations: 3.379 MB / 0.544 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.5719, allocations: 12.56 kB / 0.544 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5719, allocations: 7.688 kB / 0.544 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009014/0.5728, allocations: 0.5505 MB / 0.5445 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.5731, allocations: 43.14 kB / 0.5446 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5741, allocations: 92.88 kB / 0.5447 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/0.5745, allocations: 235.9 kB / 0.5449 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005584/0.5801, allocations: 3.317 MB / 0.5481 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004321/0.5845, allocations: 3.757 MB / 0.5518 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001236/0.5857, allocations: 1.112 MB / 0.5529 GB, free: 117.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.5874, allocations: 1.61 MB / 0.5545 GB, free: 117.1 MB / 462.1 MB Notification: Performance of Backend: time 3.3e-07/0.5874, allocations: 0 / 0.5545 GB, free: 117.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.5912, allocations: 2.651 MB / 0.557 GB, free: 115.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.009185/0.6004, allocations: 8.131 MB / 0.565 GB, free: 108.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05564/0.6561, allocations: 44.8 MB / 0.6087 GB, free: 63.95 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)