Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001145/0.001145, allocations: 95.86 kB / 16.3 MB, free: 5.996 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.001292/0.001292, allocations: 181.1 kB / 17.2 MB, free: 5.914 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.485/1.485, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0005916/0.000592, allocations: 12 kB / 281.5 MB, free: 2.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 47.57 MB / 329 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04456/0.156, allocations: 39.54 MB / 368.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2497/0.4058, allocations: 12.55 MB / 381.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/0.4164, allocations: 304.1 kB / 381.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.4278, allocations: 2.635 MB / 384.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02125/0.4491, allocations: 4.606 MB / 388.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009161/0.4583, allocations: 2.246 MB / 390.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03397/0.4923, allocations: 18.63 MB / 409.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09554/0.5878, allocations: 36.13 MB / 445.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02527/0.6131, allocations: 8.286 MB / 454 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02697/0.6402, allocations: 9.354 MB / 463.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01026/0.6505, allocations: 1.41 MB / 464.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.019/0.6696, allocations: 1.783 MB / 466.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01286/0.6825, allocations: 4.459 MB / 471 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01565/0.6982, allocations: 4.628 MB / 475.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06587/0.7642, allocations: 40.96 MB / 0.5044 GB, free: 12.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7642, allocations: 0 / 0.5044 GB, free: 12.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7642, allocations: 0 / 0.5044 GB, free: 12.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001625/0.7659, allocations: 4 kB / 0.5044 GB, free: 12.43 MB / 414.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.1085/0.8744, allocations: 23.15 MB / 0.5271 GB, free: 5.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.8745, allocations: 18.7 kB / 0.5271 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4683/1.343, allocations: 14.87 MB / 0.5416 GB, free: 103.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03331/1.376, allocations: 13.14 MB / 0.5544 GB, free: 97.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002286/1.378, allocations: 1.581 MB / 0.556 GB, free: 96.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0103/1.389, allocations: 2.091 MB / 0.558 GB, free: 95.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09637/1.485, allocations: 34.84 MB / 0.592 GB, free: 68.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001024/1.486, allocations: 27.73 kB / 0.5921 GB, free: 68.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008139/1.494, allocations: 0.8677 MB / 0.5929 GB, free: 68.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/1.496, allocations: 1.182 MB / 0.5941 GB, free: 66.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06723/1.563, allocations: 32.86 MB / 0.6261 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6239/2.187, allocations: 109.2 MB / 0.7328 GB, free: 111.7 MB / 494.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04003/2.227, allocations: 55.78 MB / 0.7873 GB, free: 72.52 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05445/2.281, allocations: 26.32 MB / 0.813 GB, free: 68.21 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.789e-05/2.282, allocations: 131.7 kB / 0.8131 GB, free: 68.1 MB / 494.2 MB Notification: Performance of pre-optimization done (n=906): time 1.143e-05/2.282, allocations: 0 / 0.8131 GB, free: 68.1 MB / 494.2 MB Notification: Performance of matching and sorting (n=918): time 0.07217/2.354, allocations: 39.84 MB / 0.852 GB, free: 47.28 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/2.354, allocations: 169.7 kB / 0.8522 GB, free: 47.18 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01305/2.367, allocations: 8.382 MB / 0.8604 GB, free: 39.16 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.002276/2.369, allocations: 173.7 kB / 0.8605 GB, free: 38.98 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.005993/2.375, allocations: 8.796 MB / 0.8691 GB, free: 30.13 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.004529/2.38, allocations: 3.106 MB / 0.8721 GB, free: 27.05 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001979/2.382, allocations: 236 kB / 0.8724 GB, free: 26.82 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 0.0008793/2.383, allocations: 0.7904 MB / 0.8731 GB, free: 26.02 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01096/2.394, allocations: 6.328 MB / 0.8793 GB, free: 19.69 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/2.407, allocations: 10.23 MB / 0.8893 GB, free: 7.715 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/2.42, allocations: 8.467 MB / 0.8976 GB, free: 15.22 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/2.42, allocations: 36 kB / 0.8976 GB, free: 15.18 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.264/2.684, allocations: 20.65 MB / 0.9178 GB, free: 143.5 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/2.684, allocations: 59.28 kB / 0.9178 GB, free: 143.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002533/2.685, allocations: 128.4 kB / 0.918 GB, free: 143.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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/2.688, allocations: 0.9444 MB / 0.9189 GB, free: 143.4 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.698, allocations: 2.507 MB / 0.9213 GB, free: 143.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/2.709, allocations: 11.71 MB / 0.9328 GB, free: 135.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/2.718, allocations: 0.6251 MB / 0.9334 GB, free: 135.3 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002222/2.721, allocations: 0.5376 MB / 0.9339 GB, free: 135.2 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1279): * Single equations (assignments): 1272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0147/2.735, allocations: 7.985 MB / 0.9417 GB, free: 131.6 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/2.738, allocations: 0.9141 MB / 0.9426 GB, free: 131.6 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03045/2.768, allocations: 17.19 MB / 0.9594 GB, free: 124.7 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.23e-05/2.768, allocations: 95.03 kB / 0.9595 GB, free: 124.7 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.671e-05/2.768, allocations: 44.19 kB / 0.9595 GB, free: 124.7 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001841/2.769, allocations: 47.53 kB / 0.9595 GB, free: 124.7 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06862/2.837, allocations: 36.2 MB / 0.9949 GB, free: 109.4 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/2.837, allocations: 4.219 kB / 0.9949 GB, free: 109.4 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005985/2.843, allocations: 1.449 MB / 0.9963 GB, free: 108.3 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/2.846, allocations: 0.9806 MB / 0.9973 GB, free: 107.3 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008733/2.847, allocations: 207.9 kB / 0.9975 GB, free: 107.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/2.859, allocations: 15.95 MB / 1.013 GB, free: 90.36 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/2.859, allocations: 7.938 kB / 1.013 GB, free: 90.35 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03768/2.897, allocations: 26.17 MB / 1.039 GB, free: 64.32 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006503/2.904, allocations: 2.275 MB / 1.041 GB, free: 62.5 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002776/2.906, allocations: 176 kB / 1.041 GB, free: 62.33 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006344/2.913, allocations: 0.5151 MB / 1.042 GB, free: 61.81 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001925/2.915, allocations: 0.7913 MB / 1.042 GB, free: 61.02 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008476/2.916, allocations: 260 kB / 1.043 GB, free: 60.77 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009236/2.925, allocations: 5.665 MB / 1.048 GB, free: 55.12 MB / 0.4983 GB Notification: Performance of sort global known variables: time 9.22e-07/2.925, allocations: 0 / 1.048 GB, free: 55.12 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01405/2.939, allocations: 3.507 MB / 1.051 GB, free: 51.61 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 (715): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/2.941, allocations: 428.3 kB / 1.052 GB, free: 51.2 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.02587/2.967, allocations: 16.34 MB / 1.068 GB, free: 34.78 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.967, allocations: 0 / 1.068 GB, free: 34.78 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01251/2.979, allocations: 8.835 MB / 1.076 GB, free: 25.88 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/2.992, allocations: 2.314 MB / 1.079 GB, free: 23.56 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2594/3.251, allocations: 45.88 MB / 1.124 GB, free: 132.6 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01766/3.269, allocations: 13.55 MB / 1.137 GB, free: 130.5 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01149/3.28, allocations: 4.023 MB / 1.141 GB, free: 130 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/3.283, allocations: 0.6697 MB / 1.141 GB, free: 130 MB / 0.4983 GB Notification: Performance of SimCode: time 7.71e-07/3.283, allocations: 0 / 1.141 GB, free: 130 MB / 0.4983 GB Notification: Performance of Templates: time 0.4282/3.711, allocations: 147.1 MB / 1.285 GB, free: 156.3 MB / 0.5139 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) Environment - environmentSimulation: