Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007891/0.00789, allocations: 106.8 kB / 15.74 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.001432/0.001433, allocations: 191 kB / 16.67 MB, free: 5.926 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001096/0.001096, allocations: 54.39 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1087, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03454/0.1433, allocations: 32.95 MB / 406.1 MB, free: 196 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.1662, allocations: 8.978 MB / 415.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008781/0.175, allocations: 203.3 kB / 415.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.1956, allocations: 8.03 MB / 423.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01862/0.2142, allocations: 3.777 MB / 427.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008384/0.2226, allocations: 2.14 MB / 429.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02161/0.2442, allocations: 13.13 MB / 442.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2965/0.5408, allocations: 22.46 MB / 464.9 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.5535, allocations: 6.657 MB / 471.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01393/0.5674, allocations: 7.309 MB / 478.8 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00623/0.5737, allocations: 1.891 MB / 480.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.5838, allocations: 2.248 MB / 483 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007939/0.5918, allocations: 3.812 MB / 486.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0147/0.6065, allocations: 7.181 MB / 494 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03254/0.6391, allocations: 25.08 MB / 0.5069 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.6392, allocations: 3.938 kB / 0.5069 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6392, allocations: 0 / 0.5069 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009085/0.6401, allocations: 0 / 0.5069 GB, free: 2.113 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05511/0.6952, allocations: 14.75 MB / 0.5213 GB, free: 3.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.6953, allocations: 8.031 kB / 0.5213 GB, free: 3.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04606/0.7414, allocations: 7.792 MB / 0.5289 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.7594, allocations: 7.355 MB / 0.5361 GB, free: 4.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009622/0.7604, allocations: 0.8034 MB / 0.5369 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005102/0.7655, allocations: 1.059 MB / 0.5379 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05031/0.8158, allocations: 17.67 MB / 0.5552 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000612/0.8165, allocations: 23.36 kB / 0.5552 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004387/0.8209, allocations: 445.8 kB / 0.5556 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008194/0.8217, allocations: 0.6552 MB / 0.5562 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04273/0.8645, allocations: 16.99 MB / 0.5728 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1088/0.9733, allocations: 56.47 MB / 0.628 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4855/1.459, allocations: 40.05 MB / 0.6671 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007773/1.467, allocations: 4.472 MB / 0.6715 GB, free: 135.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/1.489, allocations: 12.67 MB / 0.6838 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/1.489, allocations: 81.62 kB / 0.6839 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.911e-06/1.489, allocations: 0 / 0.6839 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04425/1.533, allocations: 21.46 MB / 0.7049 GB, free: 119.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.533, allocations: 121.6 kB / 0.705 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006991/1.54, allocations: 4.822 MB / 0.7097 GB, free: 117.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008367/1.541, allocations: 93.11 kB / 0.7098 GB, free: 117.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002388/1.543, allocations: 4.799 MB / 0.7145 GB, free: 113.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.545, allocations: 1.457 MB / 0.7159 GB, free: 112.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/1.546, allocations: 1.197 MB / 0.7171 GB, free: 112 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/1.547, allocations: 301.1 kB / 0.7174 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/1.55, allocations: 2.964 MB / 0.7202 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/1.556, allocations: 5.241 MB / 0.7254 GB, free: 106 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009305/1.565, allocations: 8.716 MB / 0.7339 GB, free: 96.32 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.818e-05/1.565, allocations: 24 kB / 0.7339 GB, free: 96.29 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.0166/1.582, allocations: 10.05 MB / 0.7437 GB, free: 86.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/1.582, allocations: 40 kB / 0.7438 GB, free: 86.15 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/1.582, allocations: 72.56 kB / 0.7438 GB, free: 86.08 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/1.586, allocations: 1.67 MB / 0.7455 GB, free: 84.41 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/1.591, allocations: 1.4 MB / 0.7468 GB, free: 83 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.611, allocations: 17.76 MB / 0.7642 GB, free: 64.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006834/1.618, allocations: 339.7 kB / 0.7645 GB, free: 64.37 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.619, allocations: 307.9 kB / 0.7648 GB, free: 64.07 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01031/1.63, allocations: 3.958 MB / 0.7686 GB, free: 60.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/1.632, allocations: 0.4978 MB / 0.7691 GB, free: 59.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/1.65, allocations: 7.789 MB / 0.7767 GB, free: 51.71 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/1.65, allocations: 44 kB / 0.7768 GB, free: 51.66 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-05/1.65, allocations: 16 kB / 0.7768 GB, free: 51.65 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.168e-05/1.65, allocations: 27.34 kB / 0.7768 GB, free: 51.62 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0334/1.683, allocations: 17.54 MB / 0.794 GB, free: 33.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.683, allocations: 4 kB / 0.794 GB, free: 33.93 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/1.687, allocations: 0.7255 MB / 0.7947 GB, free: 33.21 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/1.691, allocations: 1.554 MB / 0.7962 GB, free: 31.63 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006901/1.692, allocations: 104 kB / 0.7963 GB, free: 31.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/1.712, allocations: 21.2 MB / 0.817 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/1.712, allocations: 11.94 kB / 0.817 GB, free: 9.371 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3345/2.046, allocations: 11.46 MB / 0.8282 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005576/2.052, allocations: 1.158 MB / 0.8293 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00262/2.055, allocations: 88.67 kB / 0.8294 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006968/2.062, allocations: 232.5 kB / 0.8296 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002545/2.064, allocations: 327.5 kB / 0.8299 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/2.066, allocations: 131.8 kB / 0.8301 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0158/2.081, allocations: 3.254 MB / 0.8332 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.035e-06/2.081, allocations: 0 / 0.8332 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01612/2.098, allocations: 1.898 MB / 0.8351 GB, free: 153.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/2.1, allocations: 263.8 kB / 0.8353 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01864/2.118, allocations: 8.262 MB / 0.8434 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/2.118, allocations: 7.906 kB / 0.8434 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008468/2.127, allocations: 4.636 MB / 0.8479 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009684/2.136, allocations: 1.311 MB / 0.8492 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04528/2.182, allocations: 19.44 MB / 0.8682 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.193, allocations: 6.847 MB / 0.8749 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006302/2.199, allocations: 1.939 MB / 0.8768 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/2.201, allocations: 384 kB / 0.8772 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of SimCode: time 9.92e-07/2.201, allocations: 0 / 0.8772 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1316/2.332, allocations: 81.66 MB / 0.9569 GB, free: 62.09 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)