Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.491/1.491, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.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.001215/0.001215, allocations: 47.92 kB / 280.1 MB, free: 10.96 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.298, allocations: 46.63 MB / 326.7 MB, free: 2.34 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.06587/0.3639, allocations: 49.5 MB / 376.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.05/0.414, allocations: 12.92 MB / 389.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01956/0.4336, allocations: 322.9 kB / 389.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0578/0.4916, allocations: 13.86 MB / 403.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03805/0.5297, allocations: 5.466 MB / 408.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01978/0.5495, allocations: 3.289 MB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.05637/0.6059, allocations: 24.22 MB / 436.3 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5475/1.153, allocations: 47.17 MB / 483.5 MB, free: 11.43 MB / 382.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02462/1.178, allocations: 12.62 MB / 496.1 MB, free: 10.46 MB / 382.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02485/1.203, allocations: 13.96 MB / 0.4981 GB, free: 8.238 MB / 382.2 MB Notification: Performance of NFPackage.collectConstants: time 0.01387/1.217, allocations: 3.641 MB / 0.5017 GB, free: 5.691 MB / 382.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01814/1.235, allocations: 4.123 MB / 0.5057 GB, free: 1.832 MB / 382.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0191/1.254, allocations: 7.757 MB / 0.5133 GB, free: 0 / 382.2 MB Notification: Performance of NFVerifyModel.verify: time 0.03459/1.289, allocations: 13.94 MB / 0.5269 GB, free: 3.215 MB / 398.2 MB Notification: Performance of NFConvertDAE.convert: time 0.06126/1.35, allocations: 48.36 MB / 0.5741 GB, free: 3.84 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.35, allocations: 0 / 0.5741 GB, free: 3.84 MB / 446.2 MB Notification: Performance of FrontEnd: time 4.649e-06/1.35, allocations: 0 / 0.5741 GB, free: 3.84 MB / 446.2 MB Notification: Performance of Transformations before backend: time 0.001516/1.352, allocations: 3.469 kB / 0.5741 GB, free: 3.84 MB / 446.2 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.09607/1.448, allocations: 27.84 MB / 0.6013 GB, free: 8.062 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.448, allocations: 12.03 kB / 0.6013 GB, free: 8.051 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08168/1.53, allocations: 14.88 MB / 0.6158 GB, free: 9.305 MB / 494.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4655/1.995, allocations: 13.33 MB / 0.6289 GB, free: 161.8 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00214/1.997, allocations: 1.598 MB / 0.6304 GB, free: 161.8 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01092/2.008, allocations: 2.093 MB / 0.6325 GB, free: 161.1 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0984/2.107, allocations: 35.17 MB / 0.6668 GB, free: 146.1 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001112/2.108, allocations: 27.95 kB / 0.6668 GB, free: 146 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009566/2.117, allocations: 0.8655 MB / 0.6677 GB, free: 145.4 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/2.119, allocations: 1.178 MB / 0.6688 GB, free: 145.2 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07193/2.191, allocations: 33 MB / 0.7011 GB, free: 113.1 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/2.376, allocations: 109 MB / 0.8075 GB, free: 3.469 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3433/2.72, allocations: 55.87 MB / 0.8621 GB, free: 99.52 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02554/2.745, allocations: 9.951 MB / 0.8718 GB, free: 95.77 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08012/2.826, allocations: 27.37 MB / 0.8985 GB, free: 83.79 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/2.826, allocations: 133.4 kB / 0.8986 GB, free: 83.68 MB / 494.3 MB Notification: Performance of pre-optimization done (n=894): time 1.816e-05/2.826, allocations: 0.7812 kB / 0.8986 GB, free: 83.68 MB / 494.3 MB Notification: Performance of matching and sorting (n=906): time 0.1009/2.927, allocations: 39.49 MB / 0.9372 GB, free: 55.49 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/2.927, allocations: 172.5 kB / 0.9374 GB, free: 55.3 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01371/2.941, allocations: 8.51 MB / 0.9457 GB, free: 46.8 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001736/2.942, allocations: 173.7 kB / 0.9458 GB, free: 46.62 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004084/2.946, allocations: 8.833 MB / 0.9545 GB, free: 37.73 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.003145/2.95, allocations: 3.06 MB / 0.9574 GB, free: 34.7 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003761/2.953, allocations: 2.275 MB / 0.9597 GB, free: 32.42 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/2.953, allocations: 301.1 kB / 0.96 GB, free: 32.12 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007882/2.961, allocations: 6.308 MB / 0.9661 GB, free: 25.81 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/2.971, allocations: 10.26 MB / 0.9761 GB, free: 13.79 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02092/2.992, allocations: 17.62 MB / 0.9934 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/2.993, allocations: 36 kB / 0.9934 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.2664/3.259, allocations: 20.63 MB / 1.014 GB, free: 140.5 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/3.259, allocations: 59.38 kB / 1.014 GB, free: 140.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002121/3.259, allocations: 125.4 kB / 1.014 GB, free: 140.5 MB / 0.4983 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.002331/3.262, allocations: 0.8758 MB / 1.015 GB, free: 140.4 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009486/3.271, allocations: 2.498 MB / 1.017 GB, free: 140.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009335/3.28, allocations: 12.47 MB / 1.029 GB, free: 131 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/3.291, allocations: 0.6185 MB / 1.03 GB, free: 130.8 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00273/3.293, allocations: 0.5351 MB / 1.03 GB, free: 130.8 MB / 0.4983 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.01444/3.308, allocations: 7.98 MB / 1.038 GB, free: 127 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002411/3.31, allocations: 0.9198 MB / 1.039 GB, free: 127 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/3.337, allocations: 17.08 MB / 1.056 GB, free: 120 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/3.337, allocations: 91.16 kB / 1.056 GB, free: 120 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.698e-05/3.337, allocations: 46.67 kB / 1.056 GB, free: 120 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001272/3.337, allocations: 47.02 kB / 1.056 GB, free: 120 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06086/3.398, allocations: 36.08 MB / 1.091 GB, free: 103.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/3.398, allocations: 4 kB / 1.091 GB, free: 103.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005947/3.404, allocations: 1.428 MB / 1.092 GB, free: 101.7 MB / 0.4983 GB Notification: Tearing is skipped for strong component 14 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 (simulation): time 0.002544/3.407, allocations: 0.9152 MB / 1.093 GB, free: 100.7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/3.408, allocations: 207.9 kB / 1.094 GB, free: 100.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/3.42, allocations: 17.07 MB / 1.11 GB, free: 82.66 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/3.42, allocations: 8 kB / 1.11 GB, free: 82.66 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03608/3.457, allocations: 24.8 MB / 1.134 GB, free: 58.16 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006599/3.463, allocations: 2.257 MB / 1.137 GB, free: 56.36 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003115/3.466, allocations: 172 kB / 1.137 GB, free: 56.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006539/3.473, allocations: 495.5 kB / 1.137 GB, free: 55.71 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/3.475, allocations: 0.7914 MB / 1.138 GB, free: 54.92 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001336/3.476, allocations: 263.9 kB / 1.138 GB, free: 54.66 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01154/3.488, allocations: 5.782 MB / 1.144 GB, free: 48.89 MB / 0.4983 GB Notification: Performance of sort global known variables: time 8.32e-07/3.488, allocations: 0 / 1.144 GB, free: 48.89 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0154/3.503, allocations: 3.499 MB / 1.147 GB, free: 45.4 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 7 systems {(1,1,100.0%), (1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/3.506, allocations: 456.4 kB / 1.148 GB, free: 44.96 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.07532/3.582, allocations: 36.28 MB / 1.183 GB, free: 8.684 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/3.582, allocations: 384 / 1.183 GB, free: 8.684 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.2447/3.827, allocations: 8.751 MB / 1.192 GB, free: 149.5 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0166/3.843, allocations: 2.562 MB / 1.194 GB, free: 149.1 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07388/3.917, allocations: 38.89 MB / 1.232 GB, free: 134.5 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02462/3.942, allocations: 13.2 MB / 1.245 GB, free: 130 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01609/3.958, allocations: 4.013 MB / 1.249 GB, free: 128.9 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00462/3.962, allocations: 0.6698 MB / 1.25 GB, free: 128.3 MB / 0.4983 GB Notification: Performance of SimCode: time 3.086e-06/3.963, allocations: 4 kB / 1.25 GB, free: 128.3 MB / 0.4983 GB Notification: Performance of Templates: time 0.4372/4.4, allocations: 154.7 MB / 1.401 GB, free: 125.9 MB / 0.4983 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)