Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001628/0.001628, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004794/0.0004794, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.03669/0.2611, allocations: 36.24 MB / 362.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.2836, allocations: 11.38 MB / 374.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006458/0.2901, allocations: 282.9 kB / 374.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008195/0.2983, allocations: 2.46 MB / 376.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01356/0.3119, allocations: 4.156 MB / 381 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007778/0.3197, allocations: 2.034 MB / 383 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02734/0.347, allocations: 16.62 MB / 399.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05951/0.4066, allocations: 31.66 MB / 431.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/0.4201, allocations: 7.281 MB / 438.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01416/0.4343, allocations: 8.085 MB / 446.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005188/0.4396, allocations: 1.215 MB / 447.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007017/0.4466, allocations: 1.519 MB / 449.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006271/0.4529, allocations: 3.796 MB / 453.2 MB, free: 4.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007268/0.4602, allocations: 3.989 MB / 457.2 MB, free: 420 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3514/0.8116, allocations: 34.74 MB / 491.9 MB, free: 29.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8117, allocations: 3.375 kB / 491.9 MB, free: 29.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.8117, allocations: 1.531 kB / 491.9 MB, free: 29.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001234/0.8129, allocations: 0 / 491.9 MB, free: 29.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.05939/0.8723, allocations: 20.13 MB / 0.5001 GB, free: 20.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.8724, allocations: 12.89 kB / 0.5001 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07678/0.9492, allocations: 12.14 MB / 0.5119 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02564/0.9749, allocations: 11.86 MB / 0.5235 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/0.9762, allocations: 1.371 MB / 0.5248 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006456/0.9827, allocations: 1.805 MB / 0.5266 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07422/1.057, allocations: 29.77 MB / 0.5557 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000864/1.058, allocations: 19.28 kB / 0.5557 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00614/1.064, allocations: 0.7506 MB / 0.5564 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/1.065, allocations: 1.025 MB / 0.5574 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06062/1.126, allocations: 27.86 MB / 0.5846 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/1.459, allocations: 95.64 MB / 0.678 GB, free: 98.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.035/1.494, allocations: 63.41 MB / 0.7399 GB, free: 36.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03277/1.527, allocations: 20.21 MB / 0.7597 GB, free: 16.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/1.527, allocations: 108.6 kB / 0.7598 GB, free: 16.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=697): time 8.456e-06/1.527, allocations: 0 / 0.7598 GB, free: 16.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=705): time 0.086/1.613, allocations: 39.26 MB / 0.7981 GB, free: 8.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/1.613, allocations: 151.2 kB / 0.7983 GB, free: 8.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.625, allocations: 7.15 MB / 0.8052 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.626, allocations: 137.7 kB / 0.8054 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1799/1.806, allocations: 7.911 MB / 0.8131 GB, free: 165.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002212/1.809, allocations: 2.391 MB / 0.8154 GB, free: 164.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/1.809, allocations: 203.4 kB / 0.8156 GB, free: 164.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004373/1.81, allocations: 0.7106 MB / 0.8163 GB, free: 164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006941/1.817, allocations: 4.986 MB / 0.8212 GB, free: 162.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007948/1.825, allocations: 8.655 MB / 0.8296 GB, free: 156.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.833, allocations: 6.763 MB / 0.8362 GB, free: 153.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.631e-05/1.833, allocations: 36.34 kB / 0.8363 GB, free: 153.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1290) (initialization): time 0.02187/1.854, allocations: 16.54 MB / 0.8524 GB, free: 146.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.855, allocations: 53.88 kB / 0.8525 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/1.855, allocations: 121.5 kB / 0.8526 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005738/1.86, allocations: 2.599 MB / 0.8551 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007774/1.868, allocations: 2.195 MB / 0.8573 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02828/1.897, allocations: 29.32 MB / 0.8859 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007674/1.904, allocations: 0.5578 MB / 0.8865 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.906, allocations: 483.9 kB / 0.8869 GB, free: 113.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 546 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(18,38.9%) 100,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01127/1.917, allocations: 6.823 MB / 0.8936 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/1.919, allocations: 0.7756 MB / 0.8943 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.937, allocations: 13.34 MB / 0.9074 GB, free: 92.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01084/1.948, allocations: 8.356 MB / 0.9155 GB, free: 84.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.878e-05/1.948, allocations: 28 kB / 0.9156 GB, free: 84.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.866e-05/1.948, allocations: 35.86 kB / 0.9156 GB, free: 84.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04224/1.991, allocations: 28.43 MB / 0.9434 GB, free: 55.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/1.991, allocations: 7.984 kB / 0.9434 GB, free: 55.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004656/1.995, allocations: 1.139 MB / 0.9445 GB, free: 54.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005948/2.001, allocations: 2.637 MB / 0.9471 GB, free: 51.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006938/2.002, allocations: 152 kB / 0.9472 GB, free: 51.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2223/2.224, allocations: 33.83 MB / 0.9802 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.224, allocations: 3.875 kB / 0.9802 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0291/2.253, allocations: 19.74 MB / 0.9995 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005196/2.259, allocations: 1.794 MB / 1.001 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002391/2.261, allocations: 133.5 kB / 1.001 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005292/2.266, allocations: 408.3 kB / 1.002 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/2.268, allocations: 0.5318 MB / 1.002 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000495/2.268, allocations: 200.2 kB / 1.002 GB, free: 144.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008464/2.277, allocations: 4.778 MB / 1.007 GB, free: 143 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/2.277, allocations: 0 / 1.007 GB, free: 143 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01223/2.289, allocations: 3.109 MB / 1.01 GB, free: 142.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.strayReluctance.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (577): * Single equations (assignments): 562 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(18,41.7%) 100} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/2.291, allocations: 364.1 kB / 1.011 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01906/2.31, allocations: 13.7 MB / 1.024 GB, free: 136.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/2.31, allocations: 2.969 kB / 1.024 GB, free: 136.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0109/2.321, allocations: 7.71 MB / 1.031 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/2.331, allocations: 1.944 MB / 1.033 GB, free: 128.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05602/2.387, allocations: 38.84 MB / 1.071 GB, free: 92.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01738/2.404, allocations: 11.73 MB / 1.083 GB, free: 81.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01096/2.415, allocations: 3.368 MB / 1.086 GB, free: 77.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/2.418, allocations: 0.5775 MB / 1.087 GB, free: 77.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/2.418, allocations: 0 / 1.087 GB, free: 77.14 MB / 494.1 MB Notification: Performance of Templates: time 0.3836/2.802, allocations: 127.5 MB / 1.211 GB, free: 110.8 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1) Environment - environmentSimulation: