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.001066/0.001066, allocations: 113.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2121, allocations: 50.53 MB / 411.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03668/0.2488, allocations: 39.23 MB / 450.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.2677, allocations: 10.45 MB / 461.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005492/0.2732, allocations: 275.1 kB / 461.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02176/0.295, allocations: 10.2 MB / 471.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.308, allocations: 4.471 MB / 476 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006015/0.314, allocations: 2.436 MB / 478.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02034/0.3344, allocations: 18.51 MB / 496.9 MB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0453/0.3797, allocations: 35.1 MB / 0.5196 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3709/0.7506, allocations: 9.404 MB / 0.5288 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/0.7632, allocations: 10.49 MB / 0.539 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005304/0.7686, allocations: 2.677 MB / 0.5416 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007385/0.776, allocations: 3.061 MB / 0.5446 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.7807, allocations: 5.421 MB / 0.5499 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01207/0.7928, allocations: 10.2 MB / 0.5599 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02697/0.8198, allocations: 35.82 MB / 0.5948 GB, free: 8.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8198, allocations: 0 / 0.5948 GB, free: 8.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.8198, allocations: 0 / 0.5948 GB, free: 8.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007231/0.8205, allocations: 0.8125 kB / 0.5948 GB, free: 8.41 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.05596/0.8765, allocations: 21.06 MB / 0.6154 GB, free: 3.402 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8766, allocations: 8.031 kB / 0.6154 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05996/0.9365, allocations: 10.8 MB / 0.626 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02286/0.9594, allocations: 11.45 MB / 0.6372 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.9605, allocations: 1.153 MB / 0.6383 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005236/0.9657, allocations: 1.522 MB / 0.6398 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05397/1.02, allocations: 25.48 MB / 0.6647 GB, free: 1.453 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004076/1.02, allocations: 23.66 kB / 0.6647 GB, free: 1.434 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002905/1.023, allocations: 0.6288 MB / 0.6653 GB, free: 0.8203 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007716/1.024, allocations: 0.8677 MB / 0.6661 GB, free: 15.95 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04416/1.068, allocations: 24.33 MB / 0.6899 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3037/1.372, allocations: 80.38 MB / 0.7684 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/1.395, allocations: 39.17 MB / 0.8066 GB, free: 117.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008693/1.404, allocations: 7.507 MB / 0.814 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02341/1.427, allocations: 17.52 MB / 0.8311 GB, free: 104.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005887/1.433, allocations: 5.332 MB / 0.8363 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=719): time 8.376e-06/1.433, allocations: 0 / 0.8363 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=727): time 0.08804/1.521, allocations: 42.17 MB / 0.8775 GB, free: 59.75 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.521, allocations: 471.8 kB / 0.8779 GB, free: 59.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007222/1.528, allocations: 6.401 MB / 0.8842 GB, free: 52.85 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008817/1.529, allocations: 149.7 kB / 0.8843 GB, free: 52.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003674/1.533, allocations: 6.736 MB / 0.8909 GB, free: 46.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.535, allocations: 2.55 MB / 0.8934 GB, free: 44.18 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002317/1.537, allocations: 1.78 MB / 0.8951 GB, free: 42.39 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.13e-05/1.537, allocations: 309 kB / 0.8954 GB, free: 42.09 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005741/1.543, allocations: 4.827 MB / 0.9001 GB, free: 37.25 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00689/1.55, allocations: 7.843 MB / 0.9078 GB, free: 28.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/1.563, allocations: 13.2 MB / 0.9207 GB, free: 13.57 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/1.563, allocations: 24 kB / 0.9207 GB, free: 13.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02233/1.586, allocations: 15.72 MB / 0.936 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/1.586, allocations: 48.16 kB / 0.9361 GB, free: 13.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/1.586, allocations: 88 kB / 0.9362 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007284/1.593, allocations: 2.911 MB / 0.939 GB, free: 10.64 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007158/1.6, allocations: 1.852 MB / 0.9408 GB, free: 8.781 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2611/1.861, allocations: 33.24 MB / 0.9733 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006492/1.868, allocations: 0.5639 MB / 0.9738 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.869, allocations: 411 kB / 0.9742 GB, free: 173.1 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.008762/1.878, allocations: 5.888 MB / 0.98 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/1.879, allocations: 0.7497 MB / 0.9807 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/1.899, allocations: 13.4 MB / 0.9938 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.895e-05/1.899, allocations: 37.03 kB / 0.9938 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.899, allocations: 0 / 0.9938 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003208/1.903, allocations: 1.823 MB / 0.9956 GB, free: 164.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.904, allocations: 134.9 kB / 0.9957 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/1.907, allocations: 402.8 kB / 0.9961 GB, free: 164.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/1.908, allocations: 0.7115 MB / 0.9968 GB, free: 164 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01968/1.928, allocations: 13.09 MB / 1.01 GB, free: 159.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01722/1.945, allocations: 15.07 MB / 1.024 GB, free: 148.5 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005063/1.95, allocations: 4.872 MB / 1.029 GB, free: 143.6 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005361/1.955, allocations: 4.334 MB / 1.033 GB, free: 139.3 MB / 0.5763 GB Notification: Performance of Backend: time 4.41e-07/1.955, allocations: 0 / 1.033 GB, free: 139.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.97, allocations: 9.782 MB / 1.043 GB, free: 129.5 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03652/2.006, allocations: 28.2 MB / 1.07 GB, free: 101.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.3796/2.386, allocations: 146.9 MB / 1.214 GB, free: 170.5 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)