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.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.2.2_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.2.2_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.001805/0.001805, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.00168/0.00168, allocations: 190 kB / 17.54 MB, free: 6.066 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.621/1.621, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00132/0.00132, allocations: 47.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1104, allocations: 46.62 MB / 326.2 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04449/0.1549, allocations: 44.51 MB / 370.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2262/0.3811, allocations: 11.56 MB / 382.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01155/0.3927, allocations: 281.5 kB / 382.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02956/0.4223, allocations: 11.66 MB / 394.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02029/0.4426, allocations: 4.365 MB / 398.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.4528, allocations: 2.747 MB / 401.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03209/0.4849, allocations: 21.17 MB / 422.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0859/0.5708, allocations: 47.05 MB / 469.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02419/0.5951, allocations: 10.96 MB / 480.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02342/0.6186, allocations: 12.24 MB / 492.7 MB, free: 8.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01204/0.6307, allocations: 3.137 MB / 495.8 MB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01589/0.6466, allocations: 3.551 MB / 499.4 MB, free: 2.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01302/0.6597, allocations: 6.321 MB / 0.4939 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03073/0.6905, allocations: 11.98 MB / 0.5056 GB, free: 40 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5004/1.191, allocations: 41.14 MB / 0.5457 GB, free: 86.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.191, allocations: 1.188 kB / 0.5457 GB, free: 86.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/1.191, allocations: 2.156 kB / 0.5457 GB, free: 86.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001619/1.193, allocations: 0 / 0.5457 GB, free: 86.56 MB / 446.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.0901/1.283, allocations: 24.13 MB / 0.5693 GB, free: 77.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.283, allocations: 8.281 kB / 0.5693 GB, free: 77.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06498/1.348, allocations: 12.29 MB / 0.5813 GB, free: 73.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03227/1.38, allocations: 12.01 MB / 0.593 GB, free: 62.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001502/1.382, allocations: 1.376 MB / 0.5944 GB, free: 61.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01191/1.394, allocations: 1.81 MB / 0.5961 GB, free: 59.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09024/1.484, allocations: 30.05 MB / 0.6255 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001204/1.485, allocations: 22.53 kB / 0.6255 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01081/1.496, allocations: 0.7539 MB / 0.6263 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/1.497, allocations: 1.011 MB / 0.6272 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06664/1.564, allocations: 27.98 MB / 0.6546 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5053/2.069, allocations: 95.39 MB / 0.7477 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03988/2.109, allocations: 63.46 MB / 0.8097 GB, free: 105.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01194/2.121, allocations: 7.492 MB / 0.817 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04138/2.162, allocations: 20.69 MB / 0.8372 GB, free: 101.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.336e-05/2.162, allocations: 108.2 kB / 0.8373 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=683): time 1.117e-05/2.163, allocations: 4 kB / 0.8373 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=691): time 0.08493/2.247, allocations: 38.93 MB / 0.8753 GB, free: 76.78 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/2.248, allocations: 151.1 kB / 0.8755 GB, free: 76.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/2.258, allocations: 7.26 MB / 0.8826 GB, free: 69.37 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/2.26, allocations: 141.7 kB / 0.8827 GB, free: 69.23 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004055/2.264, allocations: 7.932 MB / 0.8904 GB, free: 61.25 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002863/2.266, allocations: 2.35 MB / 0.8927 GB, free: 58.92 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003064/2.27, allocations: 1.93 MB / 0.8946 GB, free: 56.98 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.041e-05/2.27, allocations: 305.1 kB / 0.8949 GB, free: 56.68 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006215/2.276, allocations: 4.954 MB / 0.8998 GB, free: 51.71 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008081/2.284, allocations: 8.667 MB / 0.9082 GB, free: 41.34 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/2.299, allocations: 14.46 MB / 0.9223 GB, free: 25.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/2.3, allocations: 36 kB / 0.9224 GB, free: 25.07 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.02732/2.327, allocations: 16.47 MB / 0.9385 GB, free: 8.43 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/2.327, allocations: 56 kB / 0.9385 GB, free: 8.375 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/2.327, allocations: 124 kB / 0.9386 GB, free: 8.254 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005547/2.333, allocations: 2.594 MB / 0.9412 GB, free: 5.633 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008329/2.341, allocations: 2.18 MB / 0.9433 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2484/2.589, allocations: 30.8 MB / 0.9734 GB, free: 161.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009433/2.599, allocations: 0.5484 MB / 0.9739 GB, free: 161.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002719/2.602, allocations: 476.8 kB / 0.9744 GB, free: 161.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * 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): 8 systems {(1,1,100.0%), (18,100,41.7%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01299/2.615, allocations: 6.829 MB / 0.981 GB, free: 158 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/2.617, allocations: 0.7748 MB / 0.9818 GB, free: 158 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/2.637, allocations: 13.18 MB / 0.9947 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01246/2.65, allocations: 8.306 MB / 1.003 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.07e-05/2.65, allocations: 29.59 kB / 1.003 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/2.65, allocations: 33.23 kB / 1.003 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05013/2.7, allocations: 28.18 MB / 1.03 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/2.7, allocations: 8.531 kB / 1.03 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004861/2.705, allocations: 1.108 MB / 1.031 GB, free: 133.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/2.711, allocations: 2.669 MB / 1.034 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/2.713, allocations: 151.1 kB / 1.034 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.052/2.765, allocations: 35.87 MB / 1.069 GB, free: 95.15 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/2.765, allocations: 4 kB / 1.069 GB, free: 95.15 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04982/2.815, allocations: 18.93 MB / 1.088 GB, free: 76.27 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008227/2.823, allocations: 1.77 MB / 1.089 GB, free: 74.48 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004147/2.827, allocations: 124 kB / 1.09 GB, free: 74.36 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009396/2.837, allocations: 399.6 kB / 1.09 GB, free: 73.97 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003002/2.84, allocations: 0.5258 MB / 1.09 GB, free: 73.44 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001605/2.841, allocations: 192 kB / 1.091 GB, free: 73.25 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.015/2.856, allocations: 4.875 MB / 1.095 GB, free: 68.41 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.52e-07/2.856, allocations: 0 / 1.095 GB, free: 68.41 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.02229/2.879, allocations: 3.089 MB / 1.098 GB, free: 65.32 MB / 0.5138 GB 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 (563): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002756/2.882, allocations: 361.3 kB / 1.099 GB, free: 64.98 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.07689/2.959, allocations: 25.35 MB / 1.124 GB, free: 39.48 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/2.959, allocations: 0 / 1.124 GB, free: 39.48 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.21/3.169, allocations: 7.624 MB / 1.131 GB, free: 175.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01282/3.181, allocations: 2.153 MB / 1.133 GB, free: 174.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06336/3.245, allocations: 40.45 MB / 1.173 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01848/3.263, allocations: 11.43 MB / 1.184 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01138/3.275, allocations: 3.37 MB / 1.187 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/3.278, allocations: 0.568 MB / 1.188 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.793e-06/3.278, allocations: 0 / 1.188 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.3935/3.671, allocations: 137.3 MB / 1.322 GB, free: 162.9 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)