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.001194/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001187/0.001187, allocations: 196.6 kB / 16.14 MB, free: 6.707 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.475/1.475, allocations: 205.1 MB / 222 MB, free: 4.773 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.001305/0.001305, allocations: 47.94 kB / 279.4 MB, free: 11.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2794, allocations: 46.64 MB / 326.1 MB, free: 2.332 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04698/0.3265, allocations: 48.59 MB / 374.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02996/0.3565, allocations: 12.79 MB / 387.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.3721, allocations: 302.9 kB / 387.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03163/0.4038, allocations: 13.04 MB / 400.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02322/0.427, allocations: 5.012 MB / 405.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.4388, allocations: 3.063 MB / 408.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0346/0.4734, allocations: 24.95 MB / 433.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4967/0.9702, allocations: 38.52 MB / 472.3 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02006/0.9902, allocations: 10.71 MB / 483 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02226/1.013, allocations: 13.18 MB / 496.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01207/1.025, allocations: 2.298 MB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/1.039, allocations: 2.792 MB / 0.4896 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01316/1.053, allocations: 5.951 MB / 0.4954 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02792/1.08, allocations: 12.43 MB / 0.5075 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0603/1.141, allocations: 47.67 MB / 0.5541 GB, free: 7.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.141, allocations: 0 / 0.5541 GB, free: 7.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/1.141, allocations: 0 / 0.5541 GB, free: 7.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001495/1.142, allocations: 0 / 0.5541 GB, free: 7.809 MB / 430.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.09248/1.235, allocations: 27.84 MB / 0.5812 GB, free: 12.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.235, allocations: 15.97 kB / 0.5813 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08036/1.315, allocations: 14.87 MB / 0.5958 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03008/1.345, allocations: 13.29 MB / 0.6088 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001709/1.347, allocations: 1.593 MB / 0.6103 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0088/1.356, allocations: 2.096 MB / 0.6124 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4109/1.767, allocations: 35.16 MB / 0.6467 GB, free: 150.2 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009874/1.768, allocations: 32.72 kB / 0.6467 GB, free: 150.2 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007585/1.775, allocations: 0.8665 MB / 0.6476 GB, free: 149.5 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/1.777, allocations: 1.178 MB / 0.6487 GB, free: 149.4 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06693/1.843, allocations: 32.99 MB / 0.6809 GB, free: 132.3 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1712/2.015, allocations: 108.9 MB / 0.7873 GB, free: 22.71 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2624/2.277, allocations: 55.85 MB / 0.8419 GB, free: 107 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01654/2.294, allocations: 9.936 MB / 0.8516 GB, free: 104.5 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04897/2.343, allocations: 27.34 MB / 0.8783 GB, free: 92.62 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.882e-05/2.343, allocations: 143.6 kB / 0.8784 GB, free: 92.51 MB / 494.3 MB Notification: Performance of pre-optimization done (n=894): time 9.528e-06/2.343, allocations: 0 / 0.8784 GB, free: 92.51 MB / 494.3 MB Notification: Performance of matching and sorting (n=906): time 0.07174/2.415, allocations: 39.42 MB / 0.9169 GB, free: 72.15 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/2.415, allocations: 172.4 kB / 0.9171 GB, free: 71.96 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01439/2.429, allocations: 8.505 MB / 0.9254 GB, free: 64.83 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.002148/2.431, allocations: 177.6 kB / 0.9255 GB, free: 64.65 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005112/2.436, allocations: 8.831 MB / 0.9342 GB, free: 56.72 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.003781/2.44, allocations: 3.066 MB / 0.9372 GB, free: 53.68 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004271/2.445, allocations: 2.268 MB / 0.9394 GB, free: 51.41 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/2.445, allocations: 301.1 kB / 0.9397 GB, free: 51.11 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008359/2.453, allocations: 6.297 MB / 0.9458 GB, free: 44.81 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01098/2.464, allocations: 10.26 MB / 0.9558 GB, free: 32.8 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/2.484, allocations: 17.61 MB / 0.973 GB, free: 13.38 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/2.484, allocations: 36 kB / 0.9731 GB, free: 13.34 MB / 494.3 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03899/2.523, allocations: 20.61 MB / 0.9932 GB, free: 8.625 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/2.524, allocations: 60.97 kB / 0.9932 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/2.524, allocations: 128 kB / 0.9934 GB, free: 8.441 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.002985/2.527, allocations: 0.9326 MB / 0.9943 GB, free: 7.492 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.537, allocations: 2.488 MB / 0.9967 GB, free: 5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2106/2.748, allocations: 11.5 MB / 1.008 GB, free: 137.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008936/2.757, allocations: 0.614 MB / 1.009 GB, free: 137.7 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/2.759, allocations: 0.5428 MB / 1.009 GB, free: 137.7 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.01276/2.772, allocations: 7.983 MB / 1.017 GB, free: 135.4 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/2.774, allocations: 0.9154 MB / 1.018 GB, free: 135.4 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0251/2.799, allocations: 17.06 MB / 1.034 GB, free: 128.5 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.602e-05/2.799, allocations: 90.66 kB / 1.035 GB, free: 128.5 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.02e-05/2.799, allocations: 41.16 kB / 1.035 GB, free: 128.5 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.74e-05/2.799, allocations: 52.11 kB / 1.035 GB, free: 128.5 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06465/2.864, allocations: 36.03 MB / 1.07 GB, free: 114.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/2.864, allocations: 7.5 kB / 1.07 GB, free: 114.1 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006134/2.87, allocations: 1.423 MB / 1.071 GB, free: 114 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.003117/2.873, allocations: 0.9705 MB / 1.072 GB, free: 113.7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001588/2.875, allocations: 205.9 kB / 1.072 GB, free: 113.6 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/2.887, allocations: 15.69 MB / 1.088 GB, free: 101.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.887, allocations: 7.812 kB / 1.088 GB, free: 101.1 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03859/2.926, allocations: 24.76 MB / 1.112 GB, free: 78.5 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005804/2.931, allocations: 2.25 MB / 1.114 GB, free: 76.71 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003025/2.934, allocations: 180 kB / 1.114 GB, free: 76.54 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006374/2.941, allocations: 491.5 kB / 1.115 GB, free: 76.05 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002332/2.943, allocations: 0.7951 MB / 1.115 GB, free: 75.26 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/2.945, allocations: 260 kB / 1.116 GB, free: 75 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009891/2.955, allocations: 5.774 MB / 1.121 GB, free: 69.25 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.4e-07/2.955, allocations: 4.375 kB / 1.121 GB, free: 69.24 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01483/2.969, allocations: 3.494 MB / 1.125 GB, free: 65.75 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.002345/2.972, allocations: 482.8 kB / 1.125 GB, free: 65.29 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02578/2.998, allocations: 16.2 MB / 1.141 GB, free: 48.99 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.998, allocations: 7.484 kB / 1.141 GB, free: 48.99 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01321/3.011, allocations: 8.732 MB / 1.15 GB, free: 40.18 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/3.025, allocations: 2.419 MB / 1.152 GB, free: 37.75 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2803/3.306, allocations: 47.78 MB / 1.199 GB, free: 128 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02391/3.329, allocations: 13.2 MB / 1.211 GB, free: 126.8 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01178/3.341, allocations: 4.013 MB / 1.215 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002657/3.344, allocations: 0.6723 MB / 1.216 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of SimCode: time 1.112e-06/3.344, allocations: 0 / 1.216 GB, free: 126.5 MB / 0.4983 GB Notification: Performance of Templates: time 0.2232/3.567, allocations: 152.2 MB / 1.365 GB, free: 0.6484 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)