Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 113.9 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.001813/0.001813, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.91 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2058, allocations: 50.54 MB / 411.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04787/0.2537, allocations: 50.09 MB / 461.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.2764, allocations: 13.14 MB / 474.6 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006859/0.2833, allocations: 382.8 kB / 475 MB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0285/0.3119, allocations: 13.95 MB / 488.9 MB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01465/0.3265, allocations: 5.546 MB / 494.5 MB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00809/0.3346, allocations: 3.354 MB / 497.8 MB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02556/0.3602, allocations: 24.36 MB / 0.51 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4103/0.7705, allocations: 46.95 MB / 0.5558 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/0.7834, allocations: 12.66 MB / 0.5682 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01491/0.7983, allocations: 14 MB / 0.5818 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005803/0.8041, allocations: 3.625 MB / 0.5854 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/0.8242, allocations: 5.248 MB / 0.5905 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007929/0.8321, allocations: 7.29 MB / 0.5976 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01997/0.8521, allocations: 13.95 MB / 0.6112 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04659/0.8987, allocations: 48.85 MB / 0.6589 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8988, allocations: 4 kB / 0.659 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8988, allocations: 4 kB / 0.659 GB, free: 13.85 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0008557/0.8997, allocations: 0 / 0.659 GB, free: 13.85 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.0719/0.9716, allocations: 28.17 MB / 0.6865 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9716, allocations: 12.02 kB / 0.6865 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07462/1.046, allocations: 14.08 MB / 0.7002 GB, free: 3.766 MB / 0.5451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02986/1.076, allocations: 15.05 MB / 0.7149 GB, free: 5.281 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001494/1.078, allocations: 1.57 MB / 0.7165 GB, free: 3.73 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006499/1.084, allocations: 2.074 MB / 0.7185 GB, free: 1.676 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4326/1.517, allocations: 34.73 MB / 0.7524 GB, free: 180.1 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004541/1.517, allocations: 32.12 kB / 0.7524 GB, free: 180.1 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/1.52, allocations: 0.858 MB / 0.7533 GB, free: 179.5 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007226/1.52, allocations: 1.148 MB / 0.7544 GB, free: 179.3 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04759/1.568, allocations: 32.33 MB / 0.786 GB, free: 163.9 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/1.698, allocations: 107.2 MB / 0.8907 GB, free: 61.14 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03091/1.729, allocations: 50.88 MB / 0.9404 GB, free: 6.859 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/1.742, allocations: 9.796 MB / 0.9499 GB, free: 13.02 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.243/1.985, allocations: 22.83 MB / 0.9722 GB, free: 181 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/1.985, allocations: 129.7 kB / 0.9723 GB, free: 181 MB / 0.592 GB Notification: Performance of pre-optimization done (n=894): time 1.082e-05/1.985, allocations: 0 / 0.9723 GB, free: 181 MB / 0.592 GB Notification: Performance of matching and sorting (n=906): time 0.05456/2.04, allocations: 39.98 MB / 1.011 GB, free: 164.2 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/2.04, allocations: 171.6 kB / 1.012 GB, free: 164.1 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009439/2.049, allocations: 8.397 MB / 1.02 GB, free: 161.1 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0009572/2.05, allocations: 172.5 kB / 1.02 GB, free: 160.9 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.003477/2.054, allocations: 8.99 MB / 1.029 GB, free: 155.4 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/2.056, allocations: 3.203 MB / 1.032 GB, free: 152.9 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002867/2.059, allocations: 2.218 MB / 1.034 GB, free: 151.9 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.298e-05/2.059, allocations: 304.9 kB / 1.034 GB, free: 151.6 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007367/2.066, allocations: 6.245 MB / 1.04 GB, free: 149.2 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008478/2.075, allocations: 9.977 MB / 1.05 GB, free: 142.1 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/2.092, allocations: 17.24 MB / 1.067 GB, free: 124.8 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.496e-05/2.092, allocations: 32 kB / 1.067 GB, free: 124.7 MB / 0.592 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02681/2.118, allocations: 20.38 MB / 1.087 GB, free: 105.8 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/2.119, allocations: 56.94 kB / 1.087 GB, free: 105.7 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/2.119, allocations: 116 kB / 1.087 GB, free: 105.6 MB / 0.592 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/2.121, allocations: 0.9261 MB / 1.088 GB, free: 104.6 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007944/2.129, allocations: 2.41 MB / 1.09 GB, free: 102.2 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008479/2.138, allocations: 12.46 MB / 1.102 GB, free: 89.11 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006894/2.144, allocations: 0.6126 MB / 1.103 GB, free: 88.5 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000781/2.145, allocations: 0.5156 MB / 1.104 GB, free: 87.98 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (204,1.3%)} * 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): 5 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009237/2.155, allocations: 7.915 MB / 1.111 GB, free: 80.05 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/2.156, allocations: 0.9623 MB / 1.112 GB, free: 79.08 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02384/2.18, allocations: 17.06 MB / 1.129 GB, free: 61.9 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-05/2.18, allocations: 43.83 kB / 1.129 GB, free: 61.86 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/2.18, allocations: 4 kB / 1.129 GB, free: 61.85 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/2.184, allocations: 2.283 MB / 1.131 GB, free: 59.54 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/2.185, allocations: 172 kB / 1.131 GB, free: 59.38 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004189/2.189, allocations: 487.5 kB / 1.132 GB, free: 58.9 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/2.191, allocations: 0.7876 MB / 1.133 GB, free: 58.11 MB / 0.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02527/2.216, allocations: 16.81 MB / 1.149 GB, free: 41.43 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0218/2.238, allocations: 19.34 MB / 1.168 GB, free: 22.04 MB / 0.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006329/2.244, allocations: 6.19 MB / 1.174 GB, free: 15.82 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006812/2.251, allocations: 5.721 MB / 1.18 GB, free: 10.12 MB / 0.592 GB Notification: Performance of Backend: time 4.71e-07/2.251, allocations: 3.938 kB / 1.18 GB, free: 10.11 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.2111/2.462, allocations: 11.42 MB / 1.191 GB, free: 192.6 MB / 0.592 GB Notification: Performance of SimCode: time 0.05096/2.513, allocations: 37.52 MB / 1.227 GB, free: 175.9 MB / 0.592 GB Notification: Performance of Templates: time 0.4359/2.949, allocations: 177.6 MB / 1.401 GB, free: 187.7 MB / 0.592 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)