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.001211/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001218/0.001218, allocations: 187.7 kB / 16.25 MB, free: 6.629 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.527/1.527, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001421/0.001421, allocations: 59.92 kB / 278.3 MB, free: 12.63 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2643, allocations: 46.62 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03572/0.3001, allocations: 32.37 MB / 357.2 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0219/0.322, allocations: 8.851 MB / 366.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01037/0.3325, allocations: 195.2 kB / 366.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02008/0.3526, allocations: 7.471 MB / 373.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.3674, allocations: 3.363 MB / 377.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007959/0.3754, allocations: 1.977 MB / 379.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02072/0.3961, allocations: 13.28 MB / 392.4 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04681/0.443, allocations: 25.14 MB / 417.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/0.4565, allocations: 6.548 MB / 424.1 MB, free: 500 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01335/0.4699, allocations: 7.362 MB / 431.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00691/0.4769, allocations: 1.895 MB / 433.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009248/0.4862, allocations: 2.249 MB / 435.6 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00744/0.4937, allocations: 3.811 MB / 439.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01625/0.5099, allocations: 7.179 MB / 446.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2296/0.7396, allocations: 24.9 MB / 471.5 MB, free: 52.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.7397, allocations: 4.812 kB / 471.5 MB, free: 52.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7397, allocations: 0 / 471.5 MB, free: 52.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009041/0.7406, allocations: 0 / 471.5 MB, free: 52.88 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.0528/0.7934, allocations: 14.8 MB / 486.3 MB, free: 46.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7934, allocations: 9.469 kB / 486.3 MB, free: 46.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04345/0.8369, allocations: 7.736 MB / 494 MB, free: 43.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/0.8543, allocations: 7.275 MB / 0.4895 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/0.8554, allocations: 0.8019 MB / 0.4903 GB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006067/0.8614, allocations: 1.067 MB / 0.4914 GB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04904/0.9105, allocations: 17.68 MB / 0.5086 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006968/0.9112, allocations: 16.98 kB / 0.5086 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006336/0.9176, allocations: 450.7 kB / 0.5091 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008595/0.9185, allocations: 0.6573 MB / 0.5097 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0365/0.955, allocations: 16.97 MB / 0.5263 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1202/1.075, allocations: 57.16 MB / 0.5821 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2274/1.303, allocations: 40.05 MB / 0.6212 GB, free: 172.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009828/1.313, allocations: 4.5 MB / 0.6256 GB, free: 172.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02028/1.333, allocations: 12.71 MB / 0.638 GB, free: 167.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/1.333, allocations: 77.38 kB / 0.6381 GB, free: 167.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 7.374e-06/1.333, allocations: 0 / 0.6381 GB, free: 167.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=423): time 0.043/1.376, allocations: 21.46 MB / 0.6591 GB, free: 156.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.376, allocations: 124.7 kB / 0.6592 GB, free: 156.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/1.383, allocations: 4.821 MB / 0.6639 GB, free: 152.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009918/1.384, allocations: 97.7 kB / 0.664 GB, free: 152.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/1.387, allocations: 4.8 MB / 0.6687 GB, free: 147.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.388, allocations: 1.447 MB / 0.6701 GB, free: 146.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/1.39, allocations: 1.2 MB / 0.6713 GB, free: 145.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/1.39, allocations: 301.1 kB / 0.6715 GB, free: 145.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/1.394, allocations: 2.966 MB / 0.6744 GB, free: 142.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004759/1.399, allocations: 5.234 MB / 0.6796 GB, free: 136.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009319/1.408, allocations: 8.725 MB / 0.6881 GB, free: 127.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.604e-05/1.408, allocations: 20 kB / 0.6881 GB, free: 127.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01764/1.426, allocations: 10.04 MB / 0.6979 GB, free: 117.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/1.426, allocations: 37.5 kB / 0.6979 GB, free: 117.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/1.426, allocations: 80.34 kB / 0.698 GB, free: 117.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004459/1.431, allocations: 1.682 MB / 0.6997 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/1.436, allocations: 1.388 MB / 0.701 GB, free: 114 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/1.458, allocations: 17.79 MB / 0.7184 GB, free: 95.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/1.465, allocations: 339.7 kB / 0.7187 GB, free: 95.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.467, allocations: 304 kB / 0.719 GB, free: 95.03 MB / 478.1 MB 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.008961/1.476, allocations: 3.958 MB / 0.7229 GB, free: 91.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/1.478, allocations: 0.4901 MB / 0.7233 GB, free: 90.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.493, allocations: 7.808 MB / 0.731 GB, free: 82.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/1.493, allocations: 44 kB / 0.731 GB, free: 82.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/1.493, allocations: 16 kB / 0.731 GB, free: 82.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/1.493, allocations: 27.84 kB / 0.7311 GB, free: 82.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03582/1.529, allocations: 17.53 MB / 0.7482 GB, free: 64.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/1.529, allocations: 8.781 kB / 0.7482 GB, free: 64.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/1.532, allocations: 0.7255 MB / 0.7489 GB, free: 64.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004038/1.537, allocations: 1.566 MB / 0.7504 GB, free: 62.55 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007654/1.537, allocations: 104 kB / 0.7505 GB, free: 62.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/1.557, allocations: 21.23 MB / 0.7713 GB, free: 40.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.557, allocations: 19.81 kB / 0.7713 GB, free: 40.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.578, allocations: 11.45 MB / 0.7825 GB, free: 28.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003768/1.582, allocations: 1.151 MB / 0.7836 GB, free: 27.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/1.584, allocations: 91.98 kB / 0.7837 GB, free: 27.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004129/1.588, allocations: 227.8 kB / 0.7839 GB, free: 27.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001257/1.59, allocations: 335.2 kB / 0.7842 GB, free: 26.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006649/1.59, allocations: 132 kB / 0.7843 GB, free: 26.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006673/1.597, allocations: 3.255 MB / 0.7875 GB, free: 23.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.597, allocations: 0 / 0.7875 GB, free: 23.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0106/1.608, allocations: 1.891 MB / 0.7894 GB, free: 21.54 MB / 478.1 MB 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.001414/1.609, allocations: 262.7 kB / 0.7896 GB, free: 21.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2472/1.856, allocations: 11.7 MB / 0.801 GB, free: 159.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.856, allocations: 0 / 0.801 GB, free: 159.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007352/1.864, allocations: 4.647 MB / 0.8056 GB, free: 159 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007006/1.871, allocations: 1.31 MB / 0.8068 GB, free: 158.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/1.91, allocations: 24.25 MB / 0.8305 GB, free: 146.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/1.922, allocations: 6.85 MB / 0.8372 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006756/1.928, allocations: 1.927 MB / 0.8391 GB, free: 143.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.93, allocations: 386.5 kB / 0.8395 GB, free: 142.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/1.93, allocations: 0 / 0.8395 GB, free: 142.9 MB / 478.1 MB Notification: Performance of Templates: time 0.13/2.06, allocations: 85.75 MB / 0.9232 GB, free: 61.49 MB / 478.1 MB 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)