Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.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.001142/0.001142, allocations: 109.2 kB / 17.74 MB, free: 5.289 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.001139/0.001139, allocations: 184.3 kB / 18.67 MB, free: 4.371 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009566/0.0009566, allocations: 55.92 kB / 353.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2074, allocations: 49.43 MB / 402.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.0368/0.2442, allocations: 38.6 MB / 441.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.2628, allocations: 10.19 MB / 451.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005695/0.2685, allocations: 271.2 kB / 451.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02143/0.2899, allocations: 10.18 MB / 462.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.3025, allocations: 4.471 MB / 466.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006076/0.3085, allocations: 2.398 MB / 468.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0191/0.3277, allocations: 18.38 MB / 487.3 MB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04479/0.3725, allocations: 35.09 MB / 0.5102 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01149/0.384, allocations: 9.413 MB / 0.5194 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3508/0.7347, allocations: 10.3 MB / 0.5294 GB, free: 42.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005094/0.7399, allocations: 2.681 MB / 0.532 GB, free: 42.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.7465, allocations: 3.035 MB / 0.535 GB, free: 42.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00471/0.7512, allocations: 5.42 MB / 0.5403 GB, free: 42.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.7619, allocations: 10.19 MB / 0.5502 GB, free: 41.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0231/0.785, allocations: 35.7 MB / 0.5851 GB, free: 20.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7851, allocations: 2.844 kB / 0.5851 GB, free: 20.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7851, allocations: 0 / 0.5851 GB, free: 20.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006138/0.7857, allocations: 3.938 kB / 0.5851 GB, free: 20.87 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.05079/0.8365, allocations: 20.61 MB / 0.6052 GB, free: 3.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8365, allocations: 8.031 kB / 0.6052 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05844/0.895, allocations: 10.67 MB / 0.6157 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/0.9188, allocations: 11.39 MB / 0.6268 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009593/0.9198, allocations: 1.149 MB / 0.6279 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/0.9245, allocations: 1.51 MB / 0.6294 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04873/0.9732, allocations: 25.49 MB / 0.6543 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003245/0.9736, allocations: 24.47 kB / 0.6543 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/0.9757, allocations: 0.6252 MB / 0.6549 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007755/0.9765, allocations: 0.8677 MB / 0.6558 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04226/1.019, allocations: 24.33 MB / 0.6795 GB, free: 8.074 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3237/1.342, allocations: 79.51 MB / 0.7572 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02591/1.368, allocations: 39.17 MB / 0.7954 GB, free: 87.09 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009198/1.378, allocations: 7.496 MB / 0.8027 GB, free: 86.99 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02507/1.403, allocations: 17.24 MB / 0.8196 GB, free: 83.81 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006101/1.409, allocations: 5.341 MB / 0.8248 GB, free: 81.71 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=719): time 8.015e-06/1.409, allocations: 0 / 0.8248 GB, free: 81.71 MB / 0.5607 GB Notification: Performance of matching and sorting (n=727): time 0.09384/1.503, allocations: 41.8 MB / 0.8656 GB, free: 48.72 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/1.503, allocations: 475.8 kB / 0.8661 GB, free: 48.16 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007007/1.51, allocations: 6.364 MB / 0.8723 GB, free: 41.79 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006484/1.51, allocations: 145.7 kB / 0.8724 GB, free: 41.64 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003547/1.514, allocations: 6.51 MB / 0.8788 GB, free: 35.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/1.516, allocations: 2.418 MB / 0.8811 GB, free: 32.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/1.518, allocations: 1.787 MB / 0.8829 GB, free: 30.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.241e-05/1.518, allocations: 308.8 kB / 0.8832 GB, free: 30.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005806/1.524, allocations: 4.827 MB / 0.8879 GB, free: 25.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/1.53, allocations: 7.84 MB / 0.8956 GB, free: 16.66 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.544, allocations: 13.19 MB / 0.9084 GB, free: 2.508 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.509e-05/1.544, allocations: 24 kB / 0.9085 GB, free: 2.484 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02427/1.568, allocations: 15.69 MB / 0.9238 GB, free: 3.285 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/1.568, allocations: 41.88 kB / 0.9238 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/1.568, allocations: 92.88 kB / 0.9239 GB, free: 3.156 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007164/1.575, allocations: 2.918 MB / 0.9268 GB, free: 232 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006846/1.582, allocations: 1.852 MB / 0.9286 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2378/1.82, allocations: 33.22 MB / 0.961 GB, free: 217 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.827, allocations: 0.5624 MB / 0.9616 GB, free: 217 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006996/1.828, allocations: 410.4 kB / 0.9619 GB, free: 217 MB / 0.6075 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.007548/1.835, allocations: 5.892 MB / 0.9677 GB, free: 216.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.836, allocations: 0.7011 MB / 0.9684 GB, free: 216.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.856, allocations: 13.4 MB / 0.9815 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.886e-05/1.856, allocations: 37.22 kB / 0.9815 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.856, allocations: 0 / 0.9815 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003852/1.86, allocations: 1.784 MB / 0.9833 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.861, allocations: 137.7 kB / 0.9834 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.865, allocations: 407.3 kB / 0.9838 GB, free: 211.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/1.866, allocations: 0.7042 MB / 0.9845 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02073/1.887, allocations: 13.08 MB / 0.9972 GB, free: 206.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01712/1.904, allocations: 15.03 MB / 1.012 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005139/1.909, allocations: 4.872 MB / 1.017 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005285/1.915, allocations: 4.314 MB / 1.021 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of Backend: time 3.91e-07/1.915, allocations: 0 / 1.021 GB, free: 197.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01488/1.93, allocations: 9.729 MB / 1.03 GB, free: 189.9 MB / 0.6075 GB Notification: Performance of SimCode: time 0.03915/1.969, allocations: 27.7 MB / 1.057 GB, free: 164.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.375/2.344, allocations: 146.5 MB / 1.2 GB, free: 238.1 MB / 0.6075 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)