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.00688/0.00688, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001545/0.001546, allocations: 193 kB / 16.67 MB, free: 5.93 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.5 MB, free: 4.527 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: 54.45 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1136, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02606/0.1398, allocations: 24.89 MB / 398.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01874/0.1586, allocations: 7.357 MB / 405.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006967/0.1656, allocations: 159.5 kB / 405.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02149/0.1872, allocations: 8.837 MB / 414.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.2002, allocations: 3.027 MB / 417.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006678/0.2069, allocations: 1.734 MB / 419.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01831/0.2252, allocations: 10.86 MB / 430.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0424/0.2677, allocations: 21.87 MB / 451.9 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.313/0.5808, allocations: 5.797 MB / 457.7 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01623/0.5971, allocations: 6.348 MB / 464.1 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009469/0.6066, allocations: 1.679 MB / 465.8 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0121/0.6187, allocations: 2.037 MB / 467.8 MB, free: 22.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008933/0.6277, allocations: 3.216 MB / 471 MB, free: 22.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01401/0.6418, allocations: 6.179 MB / 477.2 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02847/0.6703, allocations: 22.37 MB / 499.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6703, allocations: 0.8125 kB / 499.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6703, allocations: 0 / 499.6 MB, free: 6.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008167/0.6712, allocations: 2.906 kB / 499.6 MB, free: 6.797 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.04166/0.7128, allocations: 12.9 MB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7129, allocations: 8.031 kB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04067/0.7536, allocations: 7.192 MB / 0.5075 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.7716, allocations: 6.164 MB / 0.5135 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009111/0.7725, allocations: 0.7087 MB / 0.5142 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006048/0.7786, allocations: 0.9404 MB / 0.5151 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05766/0.8363, allocations: 16.21 MB / 0.5309 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004845/0.8368, allocations: 14.81 kB / 0.531 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005001/0.8418, allocations: 396.6 kB / 0.5313 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006325/0.8425, allocations: 0.5824 MB / 0.5319 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0413/0.8838, allocations: 15.46 MB / 0.547 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1226/1.006, allocations: 52.23 MB / 0.598 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03645/1.043, allocations: 35.5 MB / 0.6327 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2859/1.329, allocations: 3.381 MB / 0.636 GB, free: 179.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02215/1.351, allocations: 10.05 MB / 0.6458 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.351, allocations: 63.77 kB / 0.6459 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=297): time 5.811e-06/1.351, allocations: 1.438 kB / 0.6459 GB, free: 176.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=303): time 0.03455/1.386, allocations: 15.35 MB / 0.6608 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/1.386, allocations: 86.44 kB / 0.6609 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/1.392, allocations: 3.857 MB / 0.6647 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004894/1.392, allocations: 76.3 kB / 0.6648 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.394, allocations: 4.262 MB / 0.6689 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.395, allocations: 1.051 MB / 0.67 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/1.397, allocations: 1.095 MB / 0.671 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/1.397, allocations: 305.1 kB / 0.6713 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/1.4, allocations: 2.554 MB / 0.6738 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/1.404, allocations: 4.914 MB / 0.6786 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007697/1.412, allocations: 7.949 MB / 0.6864 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.592e-05/1.412, allocations: 22.5 kB / 0.6864 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01325/1.425, allocations: 8.643 MB / 0.6948 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/1.425, allocations: 43.94 kB / 0.6949 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/1.426, allocations: 80 kB / 0.6949 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/1.429, allocations: 1.245 MB / 0.6962 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/1.432, allocations: 1.228 MB / 0.6974 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.445, allocations: 9.957 MB / 0.7071 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/1.451, allocations: 323.5 kB / 0.7074 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.452, allocations: 284 kB / 0.7077 GB, free: 135.2 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.007156/1.459, allocations: 3.729 MB / 0.7113 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.46, allocations: 383.3 kB / 0.7117 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.471, allocations: 5.8 MB / 0.7173 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007146/1.478, allocations: 4.77 MB / 0.722 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.478, allocations: 12 kB / 0.722 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/1.478, allocations: 18.98 kB / 0.722 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.504, allocations: 13.69 MB / 0.7354 GB, free: 106.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/1.504, allocations: 12.84 kB / 0.7354 GB, free: 106.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.506, allocations: 0.5539 MB / 0.7359 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/1.509, allocations: 1.109 MB / 0.737 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/1.51, allocations: 75.55 kB / 0.7371 GB, free: 104.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.521, allocations: 8.839 MB / 0.7457 GB, free: 95.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.521, allocations: 8 kB / 0.7457 GB, free: 95.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.533, allocations: 8.503 MB / 0.754 GB, free: 87.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.535, allocations: 0.8671 MB / 0.7549 GB, free: 86.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.536, allocations: 59.98 kB / 0.755 GB, free: 86.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/1.539, allocations: 187.7 kB / 0.7551 GB, free: 86.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/1.539, allocations: 222.7 kB / 0.7553 GB, free: 85.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002444/1.54, allocations: 95.98 kB / 0.7554 GB, free: 85.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004854/1.544, allocations: 2.588 MB / 0.758 GB, free: 83.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.544, allocations: 0 / 0.758 GB, free: 83.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006608/1.551, allocations: 1.549 MB / 0.7595 GB, free: 81.77 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.0009246/1.552, allocations: 257.8 kB / 0.7597 GB, free: 81.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.562, allocations: 6.525 MB / 0.7661 GB, free: 74.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.562, allocations: 0 / 0.7661 GB, free: 74.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004538/1.567, allocations: 2.958 MB / 0.769 GB, free: 72.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/1.572, allocations: 0.9546 MB / 0.7699 GB, free: 71.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/1.604, allocations: 16.08 MB / 0.7856 GB, free: 54.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/1.616, allocations: 6.231 MB / 0.7917 GB, free: 48.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006227/1.623, allocations: 1.878 MB / 0.7935 GB, free: 46.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/1.624, allocations: 307.4 kB / 0.7938 GB, free: 46.47 MB / 0.5137 GB Notification: Performance of SimCode: time 1.743e-06/1.624, allocations: 0 / 0.7938 GB, free: 46.47 MB / 0.5137 GB Notification: Performance of Templates: time 0.3754/2, allocations: 60.75 MB / 0.8532 GB, free: 157.6 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)