Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00552/0.00552, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001184/0.001184, allocations: 205.9 kB / 16.68 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.487/1.487, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001287/0.001287, allocations: 49.72 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1197, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02778/0.1475, allocations: 24.89 MB / 398.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.1657, allocations: 7.353 MB / 405.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006859/0.1726, allocations: 155.5 kB / 405.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02252/0.1953, allocations: 8.794 MB / 414.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.2091, allocations: 2.976 MB / 417.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007354/0.2165, allocations: 1.734 MB / 419.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0187/0.2352, allocations: 10.87 MB / 430 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04566/0.2809, allocations: 21.86 MB / 451.8 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3279/0.6089, allocations: 5.779 MB / 457.6 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01648/0.6254, allocations: 6.345 MB / 463.9 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008772/0.6342, allocations: 1.68 MB / 465.6 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.6492, allocations: 2.045 MB / 467.7 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01089/0.6601, allocations: 3.212 MB / 470.9 MB, free: 22.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01749/0.6777, allocations: 6.178 MB / 477.1 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03195/0.7096, allocations: 22.42 MB / 499.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.7097, allocations: 0 / 499.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7097, allocations: 0 / 499.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008241/0.7106, allocations: 0 / 499.5 MB, free: 6.637 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.05113/0.7617, allocations: 13.13 MB / 0.5006 GB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.81e-05/0.7618, allocations: 12.03 kB / 0.5006 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04443/0.8063, allocations: 7.235 MB / 0.5077 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01881/0.8251, allocations: 6.176 MB / 0.5137 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001356/0.8266, allocations: 0.7113 MB / 0.5144 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006852/0.8335, allocations: 0.931 MB / 0.5153 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05712/0.8906, allocations: 16.21 MB / 0.5311 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006564/0.8914, allocations: 12.45 kB / 0.5312 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005893/0.8973, allocations: 399.5 kB / 0.5315 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008805/0.8982, allocations: 0.5858 MB / 0.5321 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04583/0.944, allocations: 15.46 MB / 0.5472 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1168/1.061, allocations: 52.36 MB / 0.5983 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03421/1.095, allocations: 35.5 MB / 0.633 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2887/1.384, allocations: 3.373 MB / 0.6363 GB, free: 178.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0197/1.404, allocations: 10.07 MB / 0.6461 GB, free: 175.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/1.404, allocations: 69.23 kB / 0.6462 GB, free: 175.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=297): time 5.19e-06/1.404, allocations: 0 / 0.6462 GB, free: 175.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=303): time 0.03559/1.439, allocations: 15.47 MB / 0.6613 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.439, allocations: 83.5 kB / 0.6614 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/1.445, allocations: 3.862 MB / 0.6652 GB, free: 168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005542/1.446, allocations: 75.89 kB / 0.6652 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/1.448, allocations: 4.414 MB / 0.6695 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009795/1.449, allocations: 1.108 MB / 0.6706 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.451, allocations: 1.099 MB / 0.6717 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/1.451, allocations: 305.1 kB / 0.672 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.454, allocations: 2.554 MB / 0.6745 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/1.458, allocations: 4.906 MB / 0.6793 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007665/1.465, allocations: 7.952 MB / 0.687 GB, free: 152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-05/1.465, allocations: 30.16 kB / 0.6871 GB, free: 152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01905/1.485, allocations: 8.664 MB / 0.6955 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.485, allocations: 43.94 kB / 0.6956 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/1.485, allocations: 83.94 kB / 0.6957 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/1.489, allocations: 1.242 MB / 0.6969 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004591/1.493, allocations: 1.227 MB / 0.6981 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.507, allocations: 9.958 MB / 0.7078 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.512, allocations: 331.5 kB / 0.7081 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.513, allocations: 288 kB / 0.7084 GB, free: 134.4 MB / 0.5137 GB 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.008061/1.521, allocations: 3.728 MB / 0.712 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/1.523, allocations: 405.4 kB / 0.7124 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.534, allocations: 5.798 MB / 0.7181 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007434/1.542, allocations: 4.768 MB / 0.7227 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/1.542, allocations: 12 kB / 0.7227 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-05/1.542, allocations: 15.94 kB / 0.7228 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.567, allocations: 13.7 MB / 0.7361 GB, free: 105.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.567, allocations: 8.906 kB / 0.7361 GB, free: 105.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.569, allocations: 0.5578 MB / 0.7367 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/1.571, allocations: 1.106 MB / 0.7378 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.572, allocations: 71.98 kB / 0.7378 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/1.582, allocations: 8.854 MB / 0.7465 GB, free: 95.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.582, allocations: 8 kB / 0.7465 GB, free: 95.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.593, allocations: 8.525 MB / 0.7548 GB, free: 86.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.595, allocations: 0.8849 MB / 0.7557 GB, free: 85.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005453/1.595, allocations: 63.78 kB / 0.7557 GB, free: 85.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/1.597, allocations: 183.8 kB / 0.7559 GB, free: 85.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/1.598, allocations: 226.7 kB / 0.7561 GB, free: 85.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/1.598, allocations: 95.98 kB / 0.7562 GB, free: 84.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00334/1.601, allocations: 2.585 MB / 0.7587 GB, free: 82.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/1.601, allocations: 0 / 0.7587 GB, free: 82.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005074/1.606, allocations: 1.558 MB / 0.7603 GB, free: 80.83 MB / 0.5137 GB 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.0005224/1.607, allocations: 250.2 kB / 0.7605 GB, free: 80.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009359/1.616, allocations: 6.528 MB / 0.7669 GB, free: 74.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.616, allocations: 0 / 0.7669 GB, free: 74.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/1.621, allocations: 2.966 MB / 0.7698 GB, free: 71.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/1.626, allocations: 0.9546 MB / 0.7707 GB, free: 70.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02895/1.655, allocations: 16.33 MB / 0.7867 GB, free: 53.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006711/1.662, allocations: 6.223 MB / 0.7927 GB, free: 47.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005129/1.667, allocations: 1.875 MB / 0.7946 GB, free: 45.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/1.668, allocations: 319.3 kB / 0.7949 GB, free: 45.25 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/1.668, allocations: 0 / 0.7949 GB, free: 45.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.3679/2.036, allocations: 60.76 MB / 0.8542 GB, free: 155.1 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)