Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001398/0.001398, allocations: 108.1 kB / 16.92 MB, free: 5.766 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.001535/0.001535, allocations: 191.5 kB / 17.85 MB, free: 5.172 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.37/1.37, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.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.001172/0.001172, allocations: 47.94 kB / 280 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1005, allocations: 46.63 MB / 326.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.026/0.1265, allocations: 24.88 MB / 351.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.1438, allocations: 7.354 MB / 358.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006095/0.1499, allocations: 155.5 kB / 359 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02096/0.171, allocations: 8.787 MB / 367.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.1827, allocations: 2.984 MB / 370.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006197/0.189, allocations: 1.738 MB / 372.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2588/0.4478, allocations: 10.78 MB / 383.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03978/0.4876, allocations: 21.97 MB / 405.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.4993, allocations: 5.763 MB / 411 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01703/0.5164, allocations: 6.877 MB / 417.9 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0105/0.527, allocations: 2.064 MB / 420 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.5372, allocations: 2.055 MB / 422 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00728/0.5445, allocations: 3.221 MB / 425.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01487/0.5594, allocations: 6.177 MB / 431.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03089/0.5903, allocations: 22.26 MB / 453.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5904, allocations: 0 / 453.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5904, allocations: 0 / 453.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008218/0.5912, allocations: 0 / 453.7 MB, free: 14.04 MB / 366.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.04819/0.6394, allocations: 12.97 MB / 466.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.6395, allocations: 12.03 kB / 466.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0416/0.6811, allocations: 7.137 MB / 473.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/0.697, allocations: 6.156 MB / 480 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007783/0.6978, allocations: 0.7076 MB / 480.7 MB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005168/0.703, allocations: 0.9463 MB / 481.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04924/0.7522, allocations: 16.21 MB / 497.8 MB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004081/0.7527, allocations: 11.89 kB / 497.9 MB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004241/0.757, allocations: 402.8 kB / 498.2 MB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000675/0.7576, allocations: 0.5748 MB / 498.8 MB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03981/0.7975, allocations: 15.45 MB / 0.5022 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5743/1.372, allocations: 52.87 MB / 0.5538 GB, free: 119.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02773/1.4, allocations: 35.5 MB / 0.5885 GB, free: 89.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005908/1.406, allocations: 3.396 MB / 0.5918 GB, free: 89.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/1.422, allocations: 10.08 MB / 0.6017 GB, free: 84.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/1.422, allocations: 67.14 kB / 0.6017 GB, free: 84.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 4.749e-06/1.422, allocations: 0 / 0.6017 GB, free: 84.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.03453/1.457, allocations: 15.35 MB / 0.6167 GB, free: 76.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.457, allocations: 79.44 kB / 0.6168 GB, free: 76.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005627/1.462, allocations: 3.857 MB / 0.6206 GB, free: 74.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004018/1.463, allocations: 77.52 kB / 0.6207 GB, free: 74.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002568/1.465, allocations: 4.256 MB / 0.6248 GB, free: 70.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.467, allocations: 1.055 MB / 0.6258 GB, free: 69.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001659/1.468, allocations: 1.093 MB / 0.6269 GB, free: 68.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/1.468, allocations: 305.1 kB / 0.6272 GB, free: 68.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/1.472, allocations: 2.546 MB / 0.6297 GB, free: 67.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/1.477, allocations: 4.924 MB / 0.6345 GB, free: 61.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/1.485, allocations: 7.942 MB / 0.6423 GB, free: 52.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.995e-05/1.485, allocations: 20 kB / 0.6423 GB, free: 52.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01404/1.499, allocations: 8.645 MB / 0.6507 GB, free: 44.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/1.499, allocations: 44.06 kB / 0.6508 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.499, allocations: 80 kB / 0.6508 GB, free: 43.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/1.503, allocations: 1.257 MB / 0.6521 GB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/1.507, allocations: 1.228 MB / 0.6533 GB, free: 41.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.52, allocations: 9.957 MB / 0.663 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/1.524, allocations: 331.4 kB / 0.6633 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007908/1.525, allocations: 284 kB / 0.6636 GB, free: 30.75 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.006364/1.532, allocations: 3.736 MB / 0.6672 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/1.533, allocations: 379.3 kB / 0.6676 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008814/1.541, allocations: 5.811 MB / 0.6733 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006564/1.548, allocations: 4.762 MB / 0.6779 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.548, allocations: 12 kB / 0.6779 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/1.548, allocations: 15.94 kB / 0.6779 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.572, allocations: 13.73 MB / 0.6913 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.572, allocations: 4 kB / 0.6913 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/1.574, allocations: 0.5617 MB / 0.6919 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/1.577, allocations: 1.125 MB / 0.693 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.577, allocations: 71.98 kB / 0.6931 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/1.591, allocations: 8.855 MB / 0.7017 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.591, allocations: 4 kB / 0.7017 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2502/1.842, allocations: 8.492 MB / 0.71 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/1.844, allocations: 0.8712 MB / 0.7109 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.845, allocations: 59.42 kB / 0.7109 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/1.847, allocations: 182.3 kB / 0.7111 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007185/1.848, allocations: 227.5 kB / 0.7113 GB, free: 148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.848, allocations: 91.36 kB / 0.7114 GB, free: 148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00395/1.852, allocations: 2.586 MB / 0.7139 GB, free: 147.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/1.852, allocations: 2.438 kB / 0.7139 GB, free: 147.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006225/1.858, allocations: 1.557 MB / 0.7154 GB, free: 147.8 MB / 462.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.0005673/1.859, allocations: 243 kB / 0.7157 GB, free: 147.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02206/1.881, allocations: 9.977 MB / 0.7254 GB, free: 145.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.881, allocations: 6.406 kB / 0.7254 GB, free: 145.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00512/1.886, allocations: 2.961 MB / 0.7283 GB, free: 144.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005366/1.892, allocations: 0.9496 MB / 0.7292 GB, free: 144 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/1.921, allocations: 16.29 MB / 0.7451 GB, free: 136.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006885/1.928, allocations: 6.229 MB / 0.7512 GB, free: 133.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005771/1.933, allocations: 1.878 MB / 0.7531 GB, free: 132.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008696/1.934, allocations: 302.2 kB / 0.7533 GB, free: 132 MB / 462.1 MB Notification: Performance of SimCode: time 1.193e-06/1.934, allocations: 0 / 0.7533 GB, free: 132 MB / 462.1 MB Notification: Performance of Templates: time 0.0956/2.03, allocations: 63.58 MB / 0.8154 GB, free: 71.28 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)