Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001528/0.001528, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 206.8 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.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 55.91 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2014, allocations: 50.55 MB / 411.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.0377/0.2391, allocations: 39.23 MB / 450.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.2579, allocations: 10.45 MB / 461.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/0.2624, allocations: 279.1 kB / 461.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02136/0.2837, allocations: 10.11 MB / 471.4 MB, free: 5.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.296, allocations: 4.381 MB / 475.8 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005641/0.3017, allocations: 2.443 MB / 478.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01871/0.3204, allocations: 18.5 MB / 496.8 MB, free: 11.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04147/0.3619, allocations: 35.1 MB / 0.5194 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3581/0.72, allocations: 9.41 MB / 0.5286 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.7322, allocations: 10.48 MB / 0.5388 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004364/0.7366, allocations: 2.679 MB / 0.5414 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006026/0.7426, allocations: 3.057 MB / 0.5444 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003706/0.7463, allocations: 5.436 MB / 0.5497 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01052/0.7569, allocations: 10.2 MB / 0.5597 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02409/0.781, allocations: 35.74 MB / 0.5946 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.781, allocations: 0.8125 kB / 0.5946 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.781, allocations: 0 / 0.5946 GB, free: 8.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007811/0.7818, allocations: 0.8125 kB / 0.5946 GB, free: 8.746 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 0.05155/0.8334, allocations: 20.67 MB / 0.6148 GB, free: 4.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8334, allocations: 8.031 kB / 0.6148 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05931/0.8927, allocations: 10.72 MB / 0.6253 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02172/0.9145, allocations: 11.42 MB / 0.6364 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009737/0.9155, allocations: 1.164 MB / 0.6376 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004764/0.9203, allocations: 1.518 MB / 0.639 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04946/0.9697, allocations: 25.47 MB / 0.6639 GB, free: 2.484 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004082/0.9702, allocations: 35.2 kB / 0.6639 GB, free: 2.453 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/0.9731, allocations: 0.6175 MB / 0.6645 GB, free: 1.852 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008246/0.974, allocations: 0.8677 MB / 0.6654 GB, free: 0.9805 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0448/1.019, allocations: 24.33 MB / 0.6892 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3018/1.321, allocations: 80.18 MB / 0.7675 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.344, allocations: 39.17 MB / 0.8057 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008676/1.353, allocations: 7.503 MB / 0.813 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02335/1.376, allocations: 17.49 MB / 0.8301 GB, free: 105.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005949/1.382, allocations: 5.34 MB / 0.8353 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=719): time 9.819e-06/1.382, allocations: 0 / 0.8353 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=727): time 0.09224/1.474, allocations: 41.81 MB / 0.8762 GB, free: 61.86 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.474, allocations: 475.7 kB / 0.8766 GB, free: 61.29 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006902/1.481, allocations: 6.395 MB / 0.8829 GB, free: 54.89 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005892/1.482, allocations: 149.7 kB / 0.883 GB, free: 54.74 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.485, allocations: 6.529 MB / 0.8894 GB, free: 48.18 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.487, allocations: 2.423 MB / 0.8917 GB, free: 45.78 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002231/1.489, allocations: 1.779 MB / 0.8935 GB, free: 43.99 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.192e-05/1.489, allocations: 309 kB / 0.8938 GB, free: 43.68 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005587/1.495, allocations: 4.827 MB / 0.8985 GB, free: 38.85 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006601/1.501, allocations: 7.836 MB / 0.9061 GB, free: 29.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/1.515, allocations: 13.2 MB / 0.919 GB, free: 15.18 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-05/1.515, allocations: 24 kB / 0.9191 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02118/1.536, allocations: 15.69 MB / 0.9344 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/1.536, allocations: 44 kB / 0.9344 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/1.536, allocations: 92.09 kB / 0.9345 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007073/1.543, allocations: 2.915 MB / 0.9374 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/1.55, allocations: 1.848 MB / 0.9392 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2357/1.785, allocations: 33.21 MB / 0.9716 GB, free: 175.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006274/1.792, allocations: 0.565 MB / 0.9721 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006197/1.792, allocations: 420.3 kB / 0.9725 GB, free: 175.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 408 * Number of states: 0 () * Number of discrete variables: 48 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,switchYDQS.logicalDelay[3].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].y2,switchYDQS.logicalDelay[3].y1,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].y2,switchYDQS.logicalDelay[2].y1,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].y2,switchYDQS.logicalDelay[1].y1,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,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],$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (986): * Single equations (assignments): 979 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,1,100.0%), (24,108,31.2%), (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.007093/1.799, allocations: 5.887 MB / 0.9783 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.801, allocations: 0.7087 MB / 0.979 GB, free: 172.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/1.82, allocations: 13.39 MB / 0.9921 GB, free: 167 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.888e-05/1.82, allocations: 36.56 kB / 0.9921 GB, free: 167 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.82, allocations: 2.406 kB / 0.9921 GB, free: 167 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002936/1.823, allocations: 1.778 MB / 0.9938 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.824, allocations: 134.7 kB / 0.994 GB, free: 166.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.828, allocations: 412.9 kB / 0.9944 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.829, allocations: 0.7098 MB / 0.9951 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01985/1.849, allocations: 13.08 MB / 1.008 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0169/1.865, allocations: 15.02 MB / 1.022 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004916/1.87, allocations: 4.874 MB / 1.027 GB, free: 146.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005148/1.876, allocations: 4.338 MB / 1.031 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of Backend: time 6.32e-07/1.876, allocations: 3.938 kB / 1.031 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.89, allocations: 9.755 MB / 1.041 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03607/1.926, allocations: 27.74 MB / 1.068 GB, free: 104.6 MB / 0.5763 GB Notification: Performance of Templates: time 0.3698/2.296, allocations: 146.9 MB / 1.212 GB, free: 182.9 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)