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.007464/0.007464, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001359/0.001359, allocations: 193.2 kB / 16.67 MB, free: 5.973 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001183/0.001183, allocations: 46.81 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04411/0.15, allocations: 45.33 MB / 418.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.1763, allocations: 11.73 MB / 430.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01084/0.1872, allocations: 298.9 kB / 430.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02956/0.2168, allocations: 12.47 MB / 443 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01926/0.2361, allocations: 4.949 MB / 448 MB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.2463, allocations: 2.975 MB / 451 MB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2879/0.5342, allocations: 21.09 MB / 472.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07177/0.606, allocations: 41.96 MB / 0.502 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02881/0.6348, allocations: 11.05 MB / 0.5128 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03195/0.6668, allocations: 12.8 MB / 0.5253 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01383/0.6807, allocations: 3.145 MB / 0.5283 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/0.6998, allocations: 3.543 MB / 0.5318 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01513/0.715, allocations: 6.31 MB / 0.5379 GB, free: 480 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03041/0.7454, allocations: 11.98 MB / 0.5497 GB, free: 4.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06783/0.8133, allocations: 41.4 MB / 0.5901 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.8133, allocations: 0 / 0.5901 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8133, allocations: 0 / 0.5901 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001547/0.8149, allocations: 4 kB / 0.5901 GB, free: 12.06 MB / 494.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.08943/0.9044, allocations: 24.07 MB / 0.6136 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.9044, allocations: 12.03 kB / 0.6136 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06702/0.9715, allocations: 12.33 MB / 0.6256 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5449/1.516, allocations: 12.09 MB / 0.6375 GB, free: 157 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/1.518, allocations: 1.376 MB / 0.6388 GB, free: 157 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008653/1.527, allocations: 1.803 MB / 0.6406 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08303/1.61, allocations: 30.04 MB / 0.6699 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000999/1.611, allocations: 27.36 kB / 0.6699 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008894/1.62, allocations: 0.7471 MB / 0.6706 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/1.622, allocations: 1.022 MB / 0.6716 GB, free: 144 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05476/1.676, allocations: 27.96 MB / 0.6989 GB, free: 122.2 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/1.814, allocations: 94.25 MB / 0.791 GB, free: 27.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.45/2.264, allocations: 63.43 MB / 0.8529 GB, free: 160.4 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01423/2.278, allocations: 7.464 MB / 0.8602 GB, free: 160.3 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.033/2.311, allocations: 20.51 MB / 0.8802 GB, free: 151.6 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/2.311, allocations: 106.5 kB / 0.8803 GB, free: 151.5 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=677): time 8.165e-06/2.311, allocations: 0 / 0.8803 GB, free: 151.5 MB / 0.5452 GB Notification: Performance of matching and sorting (n=685): time 0.07994/2.391, allocations: 38.28 MB / 0.9177 GB, free: 135.7 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/2.391, allocations: 146.7 kB / 0.9179 GB, free: 135.6 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009856/2.401, allocations: 7.257 MB / 0.925 GB, free: 132.9 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/2.402, allocations: 139.5 kB / 0.9251 GB, free: 132.8 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.00364/2.406, allocations: 7.944 MB / 0.9328 GB, free: 125.9 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/2.408, allocations: 2.339 MB / 0.9351 GB, free: 123.9 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002938/2.411, allocations: 1.927 MB / 0.937 GB, free: 122.8 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/2.411, allocations: 305.1 kB / 0.9373 GB, free: 122.5 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006262/2.417, allocations: 4.917 MB / 0.9421 GB, free: 117.9 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008021/2.426, allocations: 8.623 MB / 0.9505 GB, free: 107.5 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/2.441, allocations: 14.37 MB / 0.9646 GB, free: 91.38 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.644e-05/2.441, allocations: 36 kB / 0.9646 GB, free: 91.34 MB / 0.5452 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.0251/2.466, allocations: 16.39 MB / 0.9806 GB, free: 74.79 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/2.466, allocations: 56.88 kB / 0.9807 GB, free: 74.73 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/2.466, allocations: 128 kB / 0.9808 GB, free: 74.61 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/2.472, allocations: 2.589 MB / 0.9833 GB, free: 72 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008486/2.481, allocations: 2.182 MB / 0.9854 GB, free: 69.82 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02999/2.511, allocations: 30.77 MB / 1.015 GB, free: 37.95 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008039/2.519, allocations: 0.5423 MB / 1.016 GB, free: 37.41 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/2.521, allocations: 487.9 kB / 1.016 GB, free: 36.93 MB / 0.5452 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 (1128): * Single equations (assignments): 1118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,38.3%), (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.01165/2.532, allocations: 6.82 MB / 1.023 GB, free: 30.1 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002167/2.534, allocations: 0.7756 MB / 1.024 GB, free: 29.31 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/2.554, allocations: 13.1 MB / 1.037 GB, free: 16.01 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01195/2.566, allocations: 8.22 MB / 1.045 GB, free: 7.688 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.808e-05/2.566, allocations: 28 kB / 1.045 GB, free: 7.66 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.673e-05/2.567, allocations: 31.88 kB / 1.045 GB, free: 7.629 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3193/2.886, allocations: 28 MB / 1.072 GB, free: 150.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/2.886, allocations: 6.062 kB / 1.072 GB, free: 150.3 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004786/2.891, allocations: 1.117 MB / 1.073 GB, free: 150.2 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006181/2.897, allocations: 2.646 MB / 1.076 GB, free: 149.5 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.898, allocations: 148.8 kB / 1.076 GB, free: 149.4 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03152/2.93, allocations: 35.83 MB / 1.111 GB, free: 124.2 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.93, allocations: 11.81 kB / 1.111 GB, free: 124.2 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03117/2.961, allocations: 18.79 MB / 1.129 GB, free: 116.2 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005491/2.966, allocations: 1.769 MB / 1.131 GB, free: 115.6 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/2.968, allocations: 128.2 kB / 1.131 GB, free: 115.5 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0041/2.972, allocations: 397.2 kB / 1.132 GB, free: 115.4 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.973, allocations: 0.5204 MB / 1.132 GB, free: 115.4 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004164/2.974, allocations: 194.4 kB / 1.132 GB, free: 115.3 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007886/2.982, allocations: 4.872 MB / 1.137 GB, free: 113 MB / 0.5452 GB Notification: Performance of sort global known variables: time 4.91e-07/2.982, allocations: 0 / 1.137 GB, free: 113 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.01445/2.996, allocations: 3.085 MB / 1.14 GB, free: 110 MB / 0.5452 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 (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/2.998, allocations: 362.6 kB / 1.14 GB, free: 109.6 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.01836/3.016, allocations: 13.52 MB / 1.154 GB, free: 97.05 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/3.016, allocations: 4 kB / 1.154 GB, free: 97.05 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.009502/3.026, allocations: 7.586 MB / 1.161 GB, free: 89.39 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008707/3.035, allocations: 2.16 MB / 1.163 GB, free: 87.24 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05122/3.086, allocations: 32.28 MB / 1.195 GB, free: 54.95 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01296/3.099, allocations: 11.44 MB / 1.206 GB, free: 43.46 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.008192/3.107, allocations: 3.36 MB / 1.209 GB, free: 40.09 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/3.109, allocations: 0.5697 MB / 1.21 GB, free: 39.52 MB / 0.5452 GB Notification: Performance of SimCode: time 7.81e-07/3.109, allocations: 4 kB / 1.21 GB, free: 39.52 MB / 0.5452 GB Notification: Performance of Templates: time 0.4473/3.556, allocations: 131.1 MB / 1.338 GB, free: 111.9 MB / 0.5608 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (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)