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_Characteristics.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_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001416/0.001417, allocations: 51.94 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2532, allocations: 46.62 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02573/0.279, allocations: 24.89 MB / 350.2 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.2956, allocations: 7.35 MB / 357.6 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005903/0.3015, allocations: 155.5 kB / 357.7 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02022/0.3218, allocations: 8.788 MB / 366.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.3334, allocations: 2.976 MB / 369.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.3394, allocations: 1.719 MB / 371.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01886/0.3583, allocations: 10.8 MB / 382 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0342/0.3926, allocations: 21.96 MB / 404 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00834/0.4009, allocations: 5.767 MB / 409.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.4116, allocations: 6.393 MB / 416.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006232/0.4179, allocations: 1.68 MB / 417.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.4246, allocations: 2.043 MB / 419.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006542/0.4312, allocations: 3.231 MB / 423.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01504/0.4462, allocations: 6.176 MB / 429.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02782/0.4741, allocations: 22.27 MB / 451.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4742, allocations: 0 / 451.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4742, allocations: 0 / 451.5 MB, free: 5.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006054/0.4748, allocations: 0 / 451.5 MB, free: 5.242 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.2302/0.705, allocations: 12.97 MB / 464.5 MB, free: 97.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7051, allocations: 19.23 kB / 464.5 MB, free: 97.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03813/0.7432, allocations: 7.13 MB / 471.6 MB, free: 94.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.7559, allocations: 6.149 MB / 477.8 MB, free: 87.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005766/0.7566, allocations: 0.7181 MB / 478.5 MB, free: 87.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004274/0.7608, allocations: 0.9433 MB / 479.5 MB, free: 86.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03913/0.8, allocations: 16.21 MB / 495.7 MB, free: 70.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.8003, allocations: 15.91 kB / 495.7 MB, free: 70 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00305/0.8034, allocations: 399.3 kB / 496.1 MB, free: 69.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004734/0.8039, allocations: 0.5748 MB / 496.6 MB, free: 69.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02985/0.8337, allocations: 15.46 MB / 0.5001 GB, free: 53.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09987/0.9336, allocations: 52.86 MB / 0.5517 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03656/0.9703, allocations: 35.49 MB / 0.5864 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007857/0.9782, allocations: 3.399 MB / 0.5897 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/1.001, allocations: 10.07 MB / 0.5995 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/1.001, allocations: 72.77 kB / 0.5996 GB, free: 10.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 7.063e-06/1.001, allocations: 0 / 0.5996 GB, free: 10.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.4478/1.449, allocations: 15.34 MB / 0.6146 GB, free: 148.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.449, allocations: 86.22 kB / 0.6147 GB, free: 148.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009457/1.458, allocations: 3.866 MB / 0.6184 GB, free: 146.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009597/1.459, allocations: 72.92 kB / 0.6185 GB, free: 146.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004283/1.463, allocations: 4.253 MB / 0.6227 GB, free: 143.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001995/1.465, allocations: 1.056 MB / 0.6237 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002611/1.468, allocations: 1.096 MB / 0.6248 GB, free: 142.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/1.468, allocations: 301.1 kB / 0.6251 GB, free: 142 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006019/1.474, allocations: 2.548 MB / 0.6275 GB, free: 141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006016/1.48, allocations: 4.916 MB / 0.6324 GB, free: 136.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/1.49, allocations: 7.943 MB / 0.6401 GB, free: 131.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/1.49, allocations: 26.31 kB / 0.6401 GB, free: 131.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01769/1.508, allocations: 8.654 MB / 0.6486 GB, free: 126.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.508, allocations: 36 kB / 0.6486 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.508, allocations: 80 kB / 0.6487 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/1.512, allocations: 1.247 MB / 0.6499 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/1.517, allocations: 1.228 MB / 0.6511 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/1.53, allocations: 9.962 MB / 0.6608 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.535, allocations: 331.4 kB / 0.6612 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.536, allocations: 284 kB / 0.6614 GB, free: 114.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008228/1.545, allocations: 3.737 MB / 0.6651 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/1.547, allocations: 375.3 kB / 0.6654 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.558, allocations: 5.821 MB / 0.6711 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007329/1.566, allocations: 4.762 MB / 0.6758 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.566, allocations: 11.94 kB / 0.6758 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/1.566, allocations: 15.94 kB / 0.6758 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/1.594, allocations: 13.72 MB / 0.6892 GB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.594, allocations: 4 kB / 0.6892 GB, free: 86.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.597, allocations: 0.5621 MB / 0.6897 GB, free: 85.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/1.6, allocations: 1.117 MB / 0.6908 GB, free: 84.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003949/1.6, allocations: 71.97 kB / 0.6909 GB, free: 84.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.612, allocations: 8.863 MB / 0.6996 GB, free: 75.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.612, allocations: 4 kB / 0.6996 GB, free: 75.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/1.625, allocations: 8.503 MB / 0.7079 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/1.627, allocations: 0.871 MB / 0.7087 GB, free: 66.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.629, allocations: 56 kB / 0.7088 GB, free: 66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.631, allocations: 187.8 kB / 0.709 GB, free: 65.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/1.632, allocations: 226.6 kB / 0.7092 GB, free: 65.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.632, allocations: 93.3 kB / 0.7093 GB, free: 65.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005264/1.637, allocations: 2.588 MB / 0.7118 GB, free: 62.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.637, allocations: 0 / 0.7118 GB, free: 62.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007506/1.645, allocations: 1.556 MB / 0.7133 GB, free: 61.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006558/1.646, allocations: 247.6 kB / 0.7135 GB, free: 61.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02137/1.667, allocations: 9.974 MB / 0.7233 GB, free: 51.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.667, allocations: 0.9375 kB / 0.7233 GB, free: 51.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007954/1.675, allocations: 2.967 MB / 0.7262 GB, free: 48.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009222/1.684, allocations: 0.9422 MB / 0.7271 GB, free: 47.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04662/1.731, allocations: 16.29 MB / 0.743 GB, free: 30.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01685/1.748, allocations: 6.235 MB / 0.7491 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01203/1.76, allocations: 1.875 MB / 0.7509 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/1.763, allocations: 303.4 kB / 0.7512 GB, free: 22.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/1.763, allocations: 0 / 0.7512 GB, free: 22.46 MB / 446.1 MB Notification: Performance of Templates: time 0.3974/2.16, allocations: 63.56 MB / 0.8133 GB, free: 110.8 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)