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_Transformer.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_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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001027/0.001027, allocations: 187 kB / 18.68 MB, free: 4.406 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 51.92 kB / 353.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.213, allocations: 49.44 MB / 402.9 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04693/0.26, allocations: 49.45 MB / 452.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02412/0.2841, allocations: 12.89 MB / 465.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007773/0.2919, allocations: 378.8 kB / 465.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03007/0.322, allocations: 13.95 MB / 479.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.3386, allocations: 5.543 MB / 485.1 MB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009048/0.3476, allocations: 3.245 MB / 488.3 MB, free: 3.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02627/0.3739, allocations: 24.2 MB / 0.5005 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.453/0.827, allocations: 46.94 MB / 0.5463 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.84, allocations: 12.65 MB / 0.5587 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01527/0.8553, allocations: 13.81 MB / 0.5722 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006489/0.8618, allocations: 3.626 MB / 0.5757 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007581/0.8694, allocations: 4.11 MB / 0.5797 GB, free: 7.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005326/0.8748, allocations: 7.293 MB / 0.5869 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02833/0.9031, allocations: 14.94 MB / 0.6015 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04479/0.9479, allocations: 48.69 MB / 0.649 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.948, allocations: 0 / 0.649 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.553e-06/0.948, allocations: 0 / 0.649 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0008983/0.9489, allocations: 0 / 0.649 GB, free: 12.52 MB / 0.4982 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.07709/1.026, allocations: 27.6 MB / 0.676 GB, free: 0.9922 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.026, allocations: 12.02 kB / 0.676 GB, free: 0.9805 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07875/1.105, allocations: 13.94 MB / 0.6896 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03162/1.136, allocations: 14.96 MB / 0.7042 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001466/1.138, allocations: 1.577 MB / 0.7057 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00706/1.145, allocations: 2.065 MB / 0.7078 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4466/1.592, allocations: 34.73 MB / 0.7417 GB, free: 187.3 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000579/1.592, allocations: 24.44 kB / 0.7417 GB, free: 187.3 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004188/1.596, allocations: 0.8573 MB / 0.7425 GB, free: 187.3 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008393/1.597, allocations: 1.156 MB / 0.7437 GB, free: 187.2 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05092/1.648, allocations: 32.33 MB / 0.7752 GB, free: 175.7 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1387/1.787, allocations: 106.3 MB / 0.879 GB, free: 82.5 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0335/1.82, allocations: 50.87 MB / 0.9287 GB, free: 28.24 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01322/1.834, allocations: 9.799 MB / 0.9383 GB, free: 18.39 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03969/1.873, allocations: 22.55 MB / 0.9603 GB, free: 11.96 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/1.874, allocations: 129.9 kB / 0.9604 GB, free: 11.82 MB / 0.592 GB Notification: Performance of pre-optimization done (n=894): time 1.075e-05/1.874, allocations: 4 kB / 0.9604 GB, free: 11.81 MB / 0.592 GB Notification: Performance of matching and sorting (n=906): time 0.2695/2.143, allocations: 39.5 MB / 0.999 GB, free: 182.1 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/2.143, allocations: 169.8 kB / 0.9992 GB, free: 182 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009076/2.152, allocations: 8.353 MB / 1.007 GB, free: 179 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0007737/2.153, allocations: 173.2 kB / 1.008 GB, free: 178.8 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/2.156, allocations: 8.694 MB / 1.016 GB, free: 172.3 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/2.158, allocations: 3.055 MB / 1.019 GB, free: 170 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00305/2.161, allocations: 2.211 MB / 1.021 GB, free: 168.9 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 3.097e-05/2.161, allocations: 301.1 kB / 1.021 GB, free: 168.6 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007312/2.169, allocations: 6.251 MB / 1.028 GB, free: 166.3 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008228/2.177, allocations: 9.975 MB / 1.037 GB, free: 159.3 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/2.193, allocations: 17.25 MB / 1.054 GB, free: 148.5 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-05/2.193, allocations: 33.56 kB / 1.054 GB, free: 148.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.02594/2.219, allocations: 20.32 MB / 1.074 GB, free: 132.8 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/2.219, allocations: 52 kB / 1.074 GB, free: 132.7 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/2.219, allocations: 119.9 kB / 1.074 GB, free: 132.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.002411/2.222, allocations: 0.9294 MB / 1.075 GB, free: 131.9 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007789/2.229, allocations: 2.414 MB / 1.077 GB, free: 129.8 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/2.238, allocations: 12.45 MB / 1.09 GB, free: 116.8 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007112/2.245, allocations: 0.6009 MB / 1.09 GB, free: 116.2 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007297/2.246, allocations: 0.5194 MB / 1.091 GB, free: 115.7 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.009347/2.255, allocations: 7.911 MB / 1.098 GB, free: 107.8 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.257, allocations: 0.9108 MB / 1.099 GB, free: 106.9 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02369/2.28, allocations: 17.04 MB / 1.116 GB, free: 89.68 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/2.281, allocations: 47.81 kB / 1.116 GB, free: 89.64 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/2.281, allocations: 3.938 kB / 1.116 GB, free: 89.63 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004402/2.285, allocations: 2.227 MB / 1.118 GB, free: 87.38 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001741/2.287, allocations: 168 kB / 1.118 GB, free: 87.21 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004925/2.292, allocations: 491.5 kB / 1.119 GB, free: 86.73 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/2.293, allocations: 0.7876 MB / 1.12 GB, free: 85.94 MB / 0.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02569/2.319, allocations: 16.79 MB / 1.136 GB, free: 69.29 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02124/2.34, allocations: 19.29 MB / 1.155 GB, free: 49.93 MB / 0.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006181/2.346, allocations: 6.189 MB / 1.161 GB, free: 43.73 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006744/2.353, allocations: 5.693 MB / 1.166 GB, free: 38.05 MB / 0.592 GB Notification: Performance of Backend: time 2.91e-07/2.353, allocations: 0 / 1.166 GB, free: 38.05 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01654/2.369, allocations: 11.4 MB / 1.178 GB, free: 26.64 MB / 0.592 GB Notification: Performance of SimCode: time 0.2497/2.619, allocations: 36.86 MB / 1.214 GB, free: 186.2 MB / 0.592 GB Notification: Performance of Templates: time 0.2296/2.849, allocations: 177.2 MB / 1.387 GB, free: 31.37 MB / 0.592 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)