Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001092/0.001092, allocations: 114.5 kB / 18.41 MB, free: 4.691 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.001046/0.001046, allocations: 190.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 52.39 kB / 330.7 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08035/0.08229, allocations: 46.62 MB / 377.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1901/0.2724, allocations: 49.52 MB / 426.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.2981, allocations: 12.93 MB / 439.7 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008353/0.3064, allocations: 322 kB / 440 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03032/0.3368, allocations: 13.95 MB / 454 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.3537, allocations: 5.567 MB / 459.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008661/0.3623, allocations: 3.29 MB / 462.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0267/0.389, allocations: 24.42 MB / 487.3 MB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06341/0.4525, allocations: 46.85 MB / 0.5216 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01779/0.4703, allocations: 12.71 MB / 0.534 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02018/0.4905, allocations: 13.92 MB / 0.5476 GB, free: 6.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008732/0.4993, allocations: 3.633 MB / 0.5511 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3461/0.8454, allocations: 4.111 MB / 0.5552 GB, free: 68.28 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009467/0.8549, allocations: 7.353 MB / 0.5623 GB, free: 68.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02507/0.88, allocations: 13.86 MB / 0.5759 GB, free: 66.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04795/0.9279, allocations: 48.74 MB / 0.6235 GB, free: 42.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.928, allocations: 0.75 kB / 0.6235 GB, free: 42.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.928, allocations: 0 / 0.6235 GB, free: 42.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001176/0.9292, allocations: 0.8125 kB / 0.6235 GB, free: 42.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.07442/1.004, allocations: 28.3 MB / 0.6511 GB, free: 23.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.004, allocations: 8.031 kB / 0.6511 GB, free: 23.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07706/1.081, allocations: 15.03 MB / 0.6658 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02555/1.106, allocations: 13.44 MB / 0.6789 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001554/1.108, allocations: 1.595 MB / 0.6805 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007347/1.115, allocations: 2.087 MB / 0.6825 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08258/1.198, allocations: 35.18 MB / 0.7169 GB, free: 4.727 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009319/1.199, allocations: 23.89 kB / 0.7169 GB, free: 4.703 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006343/1.205, allocations: 0.8617 MB / 0.7177 GB, free: 3.863 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/1.206, allocations: 1.192 MB / 0.7189 GB, free: 2.668 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06764/1.274, allocations: 33 MB / 0.7511 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3519/1.626, allocations: 107.9 MB / 0.8565 GB, free: 105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03559/1.662, allocations: 55.89 MB / 0.911 GB, free: 50.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0132/1.675, allocations: 9.956 MB / 0.9208 GB, free: 40.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03985/1.715, allocations: 27.33 MB / 0.9475 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/1.715, allocations: 129.9 kB / 0.9476 GB, free: 12.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=894): time 9.799e-06/1.715, allocations: 0 / 0.9476 GB, free: 12.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=906): time 0.2616/1.976, allocations: 39.94 MB / 0.9866 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.977, allocations: 170.4 kB / 0.9868 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/1.991, allocations: 8.516 MB / 0.9951 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001483/1.993, allocations: 173.1 kB / 0.9952 GB, free: 176.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004797/1.997, allocations: 9.125 MB / 1.004 GB, free: 169.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002841/2, allocations: 3.21 MB / 1.007 GB, free: 166.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003886/2.004, allocations: 2.284 MB / 1.01 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.563e-05/2.004, allocations: 306.9 kB / 1.01 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009009/2.013, allocations: 6.299 MB / 1.016 GB, free: 163 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.024, allocations: 10.27 MB / 1.026 GB, free: 155.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/2.045, allocations: 17.62 MB / 1.043 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/2.045, allocations: 36.38 kB / 1.043 GB, free: 144.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.0364/2.081, allocations: 20.69 MB / 1.063 GB, free: 131 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/2.081, allocations: 60 kB / 1.063 GB, free: 130.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/2.082, allocations: 124.8 kB / 1.064 GB, free: 130.8 MB / 0.5607 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.002938/2.085, allocations: 0.9309 MB / 1.065 GB, free: 130 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009717/2.094, allocations: 2.488 MB / 1.067 GB, free: 127.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00959/2.104, allocations: 12.48 MB / 1.079 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/2.114, allocations: 0.6155 MB / 1.08 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/2.117, allocations: 0.535 MB / 1.08 GB, free: 114.7 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (1269): * Single equations (assignments): 1262 * 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,100.0%), (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.01514/2.132, allocations: 7.993 MB / 1.088 GB, free: 107.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003152/2.135, allocations: 0.9586 MB / 1.089 GB, free: 106.9 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03079/2.166, allocations: 17.08 MB / 1.106 GB, free: 92.53 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/2.166, allocations: 51.81 kB / 1.106 GB, free: 92.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.166, allocations: 0 / 1.106 GB, free: 92.48 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005439/2.171, allocations: 2.283 MB / 1.108 GB, free: 90.17 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002802/2.174, allocations: 171.6 kB / 1.108 GB, free: 90 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006131/2.18, allocations: 495.4 kB / 1.109 GB, free: 89.52 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/2.182, allocations: 0.7876 MB / 1.109 GB, free: 88.73 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03018/2.212, allocations: 16.83 MB / 1.126 GB, free: 72.03 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02643/2.239, allocations: 19.36 MB / 1.145 GB, free: 52.61 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00714/2.246, allocations: 6.205 MB / 1.151 GB, free: 46.38 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01003/2.256, allocations: 5.781 MB / 1.156 GB, free: 40.62 MB / 0.5607 GB Notification: Performance of Backend: time 4.61e-07/2.256, allocations: 0 / 1.156 GB, free: 40.62 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0213/2.277, allocations: 11.53 MB / 1.168 GB, free: 29.05 MB / 0.5607 GB Notification: Performance of SimCode: time 0.2554/2.533, allocations: 37.73 MB / 1.205 GB, free: 161.1 MB / 0.5607 GB Notification: Performance of Templates: time 0.2471/2.78, allocations: 178 MB / 1.378 GB, free: 16.41 MB / 0.5607 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)