Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 110.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 43.94 kB / 352 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2318, allocations: 49.43 MB / 401.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.01396/0.2458, allocations: 14.22 MB / 415.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008175/0.254, allocations: 4.598 MB / 420.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.2562, allocations: 87.69 kB / 420.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.2589, allocations: 1.103 MB / 421.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.2629, allocations: 1.491 MB / 422.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.2648, allocations: 0.9234 MB / 423.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.2697, allocations: 5.069 MB / 428.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00377/0.2735, allocations: 3.855 MB / 432.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.2762, allocations: 2.344 MB / 435.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.2792, allocations: 2.635 MB / 437.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007703/0.28, allocations: 0.625 MB / 438.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.2815, allocations: 0.8279 MB / 439.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.2826, allocations: 1.438 MB / 440.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.285, allocations: 2.649 MB / 443.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006668/0.2917, allocations: 8.28 MB / 451.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2917, allocations: 4 kB / 451.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2917, allocations: 0 / 451.6 MB, free: 6.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.2918, allocations: 0 / 451.6 MB, free: 6.617 MB / 366.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.01167/0.3035, allocations: 5.335 MB / 456.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3036, allocations: 11.97 kB / 456.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.3079, allocations: 0.9089 MB / 457.8 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00496/0.3128, allocations: 2.996 MB / 460.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.3131, allocations: 295.9 kB / 461.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.3136, allocations: 387.9 kB / 461.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008226/0.3218, allocations: 5.383 MB / 466.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/0.3219, allocations: 8 kB / 466.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004067/0.3223, allocations: 156 kB / 467 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3225, allocations: 171.7 kB / 467.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007847/0.3303, allocations: 4.734 MB / 471.9 MB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/0.3552, allocations: 16.67 MB / 488.6 MB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008772/0.364, allocations: 8.787 MB / 497.4 MB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/0.3667, allocations: 1.866 MB / 499.3 MB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007977/0.3747, allocations: 4.847 MB / 0.4923 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/0.3766, allocations: 1.324 MB / 0.4936 GB, free: 15.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 3.326e-06/0.3767, allocations: 0 / 0.4936 GB, free: 15.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.01705/0.3937, allocations: 8.646 MB / 0.502 GB, free: 6.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.3938, allocations: 231.6 kB / 0.5023 GB, free: 5.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/0.3968, allocations: 2.318 MB / 0.5045 GB, free: 3.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.397, allocations: 61.7 kB / 0.5046 GB, free: 3.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.3983, allocations: 1.729 MB / 0.5063 GB, free: 1.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.3988, allocations: 0.6201 MB / 0.5069 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/0.3995, allocations: 407.7 kB / 0.5073 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3996, allocations: 309.1 kB / 0.5076 GB, free: 448 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4012, allocations: 1.019 MB / 0.5086 GB, free: 15.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.4032, allocations: 1.634 MB / 0.5102 GB, free: 13.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.4067, allocations: 2.641 MB / 0.5127 GB, free: 10.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.4067, allocations: 4 kB / 0.5127 GB, free: 10.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005403/0.4121, allocations: 3.562 MB / 0.5162 GB, free: 7.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4121, allocations: 12 kB / 0.5162 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.4122, allocations: 16 kB / 0.5162 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.4138, allocations: 0.768 MB / 0.517 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.4153, allocations: 399.3 kB / 0.5174 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.4269, allocations: 11.85 MB / 0.5289 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4286, allocations: 127.8 kB / 0.5291 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.4287, allocations: 88.06 kB / 0.5291 GB, free: 9.227 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.001894/0.4306, allocations: 1.324 MB / 0.5304 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.431, allocations: 248.9 kB / 0.5307 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/0.4364, allocations: 3.365 MB / 0.534 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.4365, allocations: 15.95 kB / 0.534 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4365, allocations: 3.938 kB / 0.534 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.4375, allocations: 0.5526 MB / 0.5345 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.4379, allocations: 40 kB / 0.5346 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.4389, allocations: 91.91 kB / 0.5346 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004082/0.4393, allocations: 241.6 kB / 0.5349 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1864/0.6258, allocations: 3.312 MB / 0.5381 GB, free: 128.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005736/0.6316, allocations: 3.751 MB / 0.5418 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001243/0.6328, allocations: 1.115 MB / 0.5429 GB, free: 127.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001804/0.6346, allocations: 1.592 MB / 0.5444 GB, free: 127 MB / 462.1 MB Notification: Performance of Backend: time 3.31e-07/0.6346, allocations: 0 / 0.5444 GB, free: 127 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.6387, allocations: 2.647 MB / 0.547 GB, free: 125.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.009309/0.648, allocations: 8.095 MB / 0.5549 GB, free: 121.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05567/0.7037, allocations: 44.37 MB / 0.5982 GB, free: 80.03 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)