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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007444/0.007444, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.001314/0.001314, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001372/0.001372, allocations: 54.58 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1021, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02543/0.1276, allocations: 24.96 MB / 398.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1447, allocations: 7.72 MB / 405.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008267/0.153, allocations: 151.6 kB / 406.1 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02024/0.1733, allocations: 8.413 MB / 414.5 MB, free: 7.867 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.013/0.1863, allocations: 3.097 MB / 417.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.1933, allocations: 1.801 MB / 419.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01722/0.2106, allocations: 11.2 MB / 430.6 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04536/0.256, allocations: 23.35 MB / 453.9 MB, free: 184 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2793/0.5353, allocations: 5.99 MB / 459.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01579/0.5512, allocations: 6.539 MB / 466.4 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01076/0.562, allocations: 1.725 MB / 468.2 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.5731, allocations: 2.125 MB / 470.3 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01065/0.5838, allocations: 3.449 MB / 473.7 MB, free: 22.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01759/0.6015, allocations: 6.438 MB / 480.2 MB, free: 19.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02944/0.631, allocations: 23.14 MB / 0.4915 GB, free: 5.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.631, allocations: 1.25 kB / 0.4915 GB, free: 5.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.631, allocations: 0 / 0.4915 GB, free: 5.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008536/0.6319, allocations: 0 / 0.4915 GB, free: 5.926 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04814/0.68, allocations: 13.55 MB / 0.5048 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.6801, allocations: 17.33 kB / 0.5048 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04173/0.7219, allocations: 7.248 MB / 0.5118 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/0.7399, allocations: 6.501 MB / 0.5182 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009929/0.741, allocations: 0.7286 MB / 0.5189 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005516/0.7465, allocations: 0.9586 MB / 0.5198 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05321/0.7997, allocations: 16.59 MB / 0.536 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006372/0.8004, allocations: 19.45 kB / 0.5361 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00483/0.8053, allocations: 409.6 kB / 0.5365 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00083/0.8061, allocations: 0.5869 MB / 0.537 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04093/0.8471, allocations: 15.79 MB / 0.5524 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.111/0.9581, allocations: 53.27 MB / 0.6045 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/0.9815, allocations: 22.72 MB / 0.6267 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006758/0.9883, allocations: 3.805 MB / 0.6304 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2845/1.273, allocations: 11.67 MB / 0.6418 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.273, allocations: 68.86 kB / 0.6418 GB, free: 174 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=357): time 6.733e-06/1.273, allocations: 3.266 kB / 0.6418 GB, free: 174 MB / 0.5137 GB Notification: Performance of matching and sorting (n=362): time 0.04719/1.32, allocations: 17.52 MB / 0.659 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.32, allocations: 89.81 kB / 0.659 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.332, allocations: 4.762 MB / 0.6637 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009669/1.333, allocations: 85.67 kB / 0.6638 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003551/1.337, allocations: 4.482 MB / 0.6681 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002151/1.339, allocations: 1.252 MB / 0.6694 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/1.341, allocations: 1.181 MB / 0.6705 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/1.341, allocations: 311.1 kB / 0.6708 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/1.346, allocations: 2.901 MB / 0.6737 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005771/1.352, allocations: 5.26 MB / 0.6788 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.363, allocations: 8.638 MB / 0.6872 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.792e-05/1.363, allocations: 23.47 kB / 0.6872 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02068/1.384, allocations: 9.619 MB / 0.6966 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/1.384, allocations: 35.59 kB / 0.6967 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002346/1.384, allocations: 78.88 kB / 0.6968 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00437/1.389, allocations: 1.441 MB / 0.6982 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005394/1.394, allocations: 1.327 MB / 0.6995 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/1.411, allocations: 12.67 MB / 0.7118 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006279/1.417, allocations: 371.4 kB / 0.7122 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.419, allocations: 304 kB / 0.7125 GB, free: 132 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01055/1.43, allocations: 3.923 MB / 0.7163 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002781/1.432, allocations: 450.4 kB / 0.7167 GB, free: 127.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/1.449, allocations: 6.761 MB / 0.7233 GB, free: 120.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/1.46, allocations: 5.584 MB / 0.7288 GB, free: 115.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/1.46, allocations: 12 kB / 0.7288 GB, free: 115.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-05/1.46, allocations: 31.44 kB / 0.7288 GB, free: 115.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0357/1.495, allocations: 15.43 MB / 0.7439 GB, free: 99.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.496, allocations: 9.859 kB / 0.7439 GB, free: 99.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/1.499, allocations: 0.667 MB / 0.7446 GB, free: 99.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003649/1.502, allocations: 1.298 MB / 0.7458 GB, free: 97.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009302/1.503, allocations: 87.97 kB / 0.7459 GB, free: 97.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.519, allocations: 11.56 MB / 0.7572 GB, free: 85.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.519, allocations: 6.734 kB / 0.7572 GB, free: 85.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/1.539, allocations: 10 MB / 0.767 GB, free: 75.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003604/1.542, allocations: 1.018 MB / 0.768 GB, free: 74.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002045/1.545, allocations: 77.47 kB / 0.768 GB, free: 74.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003832/1.548, allocations: 223.8 kB / 0.7682 GB, free: 74.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/1.55, allocations: 267.2 kB / 0.7685 GB, free: 74.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000717/1.55, allocations: 120 kB / 0.7686 GB, free: 73.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007462/1.558, allocations: 3.229 MB / 0.7718 GB, free: 70.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.253e-06/1.558, allocations: 4 kB / 0.7718 GB, free: 70.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0111/1.569, allocations: 1.696 MB / 0.7734 GB, free: 69.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002396/1.571, allocations: 0.4966 MB / 0.7739 GB, free: 68.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01523/1.587, allocations: 7.524 MB / 0.7813 GB, free: 61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.587, allocations: 4 kB / 0.7813 GB, free: 61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007458/1.594, allocations: 3.608 MB / 0.7848 GB, free: 57.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/1.604, allocations: 1.043 MB / 0.7858 GB, free: 56.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04686/1.651, allocations: 17.76 MB / 0.8032 GB, free: 38.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01753/1.669, allocations: 6.551 MB / 0.8096 GB, free: 31.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008596/1.677, allocations: 2.098 MB / 0.8116 GB, free: 29.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/1.68, allocations: 355.4 kB / 0.8119 GB, free: 29.44 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.68, allocations: 0 / 0.8119 GB, free: 29.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.4751/2.155, allocations: 68.31 MB / 0.8787 GB, free: 139.7 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)