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.004936/0.004936, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001109/0.001109, allocations: 191 kB / 16.67 MB, free: 5.969 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.433/1.433, allocations: 205.1 MB / 222.5 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.001374/0.001374, allocations: 50.44 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0263/0.1304, allocations: 24.88 MB / 398.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.1485, allocations: 7.357 MB / 405.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00572/0.1543, allocations: 159.5 kB / 405.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02112/0.1755, allocations: 8.833 MB / 414.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.188, allocations: 3.027 MB / 417.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006271/0.1943, allocations: 1.738 MB / 419.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01868/0.213, allocations: 10.87 MB / 430.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04299/0.2561, allocations: 21.87 MB / 451.9 MB, free: 2.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3128/0.5689, allocations: 5.793 MB / 457.7 MB, free: 22.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01639/0.5854, allocations: 6.351 MB / 464.1 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009194/0.5946, allocations: 1.679 MB / 465.8 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.6085, allocations: 2.034 MB / 467.8 MB, free: 22.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00919/0.6178, allocations: 3.22 MB / 471 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01588/0.6337, allocations: 6.175 MB / 477.2 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02929/0.663, allocations: 22.38 MB / 499.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6631, allocations: 0 / 499.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6631, allocations: 0 / 499.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008722/0.664, allocations: 0 / 499.6 MB, free: 6.711 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.04924/0.7132, allocations: 12.91 MB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.7133, allocations: 12.03 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04297/0.7563, allocations: 7.189 MB / 0.5075 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.7724, allocations: 6.164 MB / 0.5135 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000806/0.7733, allocations: 0.7117 MB / 0.5142 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005559/0.7789, allocations: 0.9391 MB / 0.5151 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05272/0.8316, allocations: 16.2 MB / 0.531 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005734/0.8322, allocations: 15.38 kB / 0.531 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005078/0.8373, allocations: 396.3 kB / 0.5313 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007845/0.8381, allocations: 0.5863 MB / 0.5319 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04092/0.8791, allocations: 15.45 MB / 0.547 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/0.9933, allocations: 52.24 MB / 0.598 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03602/1.029, allocations: 35.49 MB / 0.6327 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2881/1.318, allocations: 3.374 MB / 0.636 GB, free: 179 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02644/1.344, allocations: 10.05 MB / 0.6458 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/1.344, allocations: 69.48 kB / 0.6459 GB, free: 176.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=297): time 8.115e-06/1.344, allocations: 0 / 0.6459 GB, free: 176.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=303): time 0.041/1.385, allocations: 15.35 MB / 0.6609 GB, free: 170.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/1.385, allocations: 87.12 kB / 0.6609 GB, free: 170.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/1.396, allocations: 3.857 MB / 0.6647 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000743/1.397, allocations: 76.77 kB / 0.6648 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003619/1.401, allocations: 4.259 MB / 0.6689 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.402, allocations: 1.053 MB / 0.67 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003498/1.406, allocations: 1.099 MB / 0.671 GB, free: 164.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/1.406, allocations: 301.1 kB / 0.6713 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.41, allocations: 2.551 MB / 0.6738 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005926/1.416, allocations: 4.912 MB / 0.6786 GB, free: 158.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.426, allocations: 7.949 MB / 0.6864 GB, free: 153 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001176/1.427, allocations: 26.91 kB / 0.6864 GB, free: 153 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01641/1.443, allocations: 8.638 MB / 0.6948 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.443, allocations: 43.94 kB / 0.6949 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/1.443, allocations: 86 kB / 0.695 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/1.447, allocations: 1.238 MB / 0.6962 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/1.451, allocations: 1.223 MB / 0.6974 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.465, allocations: 9.955 MB / 0.7071 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/1.471, allocations: 323.5 kB / 0.7074 GB, free: 135.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/1.472, allocations: 288 kB / 0.7077 GB, free: 135.3 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.008394/1.48, allocations: 3.732 MB / 0.7113 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/1.482, allocations: 379.3 kB / 0.7117 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.495, allocations: 5.812 MB / 0.7173 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007821/1.503, allocations: 4.762 MB / 0.722 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/1.503, allocations: 12 kB / 0.722 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/1.503, allocations: 15.94 kB / 0.722 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/1.533, allocations: 13.69 MB / 0.7354 GB, free: 106.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.534, allocations: 7.938 kB / 0.7354 GB, free: 106.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.536, allocations: 0.5663 MB / 0.736 GB, free: 106.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.539, allocations: 1.11 MB / 0.737 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005647/1.54, allocations: 71.98 kB / 0.7371 GB, free: 105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.553, allocations: 8.838 MB / 0.7457 GB, free: 95.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.553, allocations: 7.938 kB / 0.7457 GB, free: 95.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.569, allocations: 8.503 MB / 0.7541 GB, free: 87.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.572, allocations: 0.8671 MB / 0.7549 GB, free: 86.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/1.573, allocations: 60 kB / 0.755 GB, free: 86.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.576, allocations: 191.8 kB / 0.7551 GB, free: 86.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007076/1.577, allocations: 214.7 kB / 0.7553 GB, free: 86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002976/1.577, allocations: 99.91 kB / 0.7554 GB, free: 85.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005166/1.582, allocations: 2.585 MB / 0.758 GB, free: 83.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/1.582, allocations: 0 / 0.758 GB, free: 83.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007752/1.59, allocations: 1.556 MB / 0.7595 GB, free: 81.79 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.000848/1.591, allocations: 245.3 kB / 0.7597 GB, free: 81.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.602, allocations: 6.52 MB / 0.7661 GB, free: 75.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.602, allocations: 0 / 0.7661 GB, free: 75.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/1.607, allocations: 2.966 MB / 0.769 GB, free: 72.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/1.613, allocations: 0.9491 MB / 0.7699 GB, free: 71.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03319/1.646, allocations: 16.1 MB / 0.7856 GB, free: 54.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/1.656, allocations: 6.223 MB / 0.7917 GB, free: 48.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005937/1.662, allocations: 1.882 MB / 0.7935 GB, free: 46.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/1.663, allocations: 299.4 kB / 0.7938 GB, free: 46.5 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/1.663, allocations: 0 / 0.7938 GB, free: 46.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.3498/2.013, allocations: 60.76 MB / 0.8532 GB, free: 157.3 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)