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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001338/0.001338, allocations: 192 kB / 18 MB, free: 4.977 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.559/1.559, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001112/0.001112, allocations: 51.94 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1053, allocations: 46.62 MB / 374.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.264/0.3693, allocations: 27.07 MB / 401.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0217/0.391, allocations: 7.996 MB / 409.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008213/0.3993, allocations: 167.9 kB / 409.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02345/0.4229, allocations: 9.429 MB / 419.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0158/0.4387, allocations: 3.422 MB / 422.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007096/0.4458, allocations: 1.841 MB / 424.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0189/0.4647, allocations: 12.28 MB / 436.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04508/0.5098, allocations: 24.42 MB / 461.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.5227, allocations: 6.546 MB / 467.7 MB, free: 2.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01446/0.5372, allocations: 7.265 MB / 475 MB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007272/0.5445, allocations: 1.852 MB / 476.8 MB, free: 9.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009799/0.5544, allocations: 2.214 MB / 479 MB, free: 6.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007101/0.5615, allocations: 3.671 MB / 482.7 MB, free: 3.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01689/0.5784, allocations: 7.008 MB / 489.7 MB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03241/0.6109, allocations: 24.76 MB / 0.5024 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.6109, allocations: 0 / 0.5024 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6109, allocations: 0 / 0.5024 GB, free: 3.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007967/0.6117, allocations: 0 / 0.5024 GB, free: 3.312 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04957/0.6613, allocations: 14.66 MB / 0.5167 GB, free: 4.539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.6614, allocations: 12.03 kB / 0.5167 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05137/0.7128, allocations: 9.471 MB / 0.526 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/0.7297, allocations: 6.895 MB / 0.5327 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001033/0.7308, allocations: 0.8149 MB / 0.5335 GB, free: 3.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005454/0.7362, allocations: 1.074 MB / 0.5346 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2971/1.033, allocations: 18.74 MB / 0.5529 GB, free: 136.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004346/1.034, allocations: 13.97 kB / 0.5529 GB, free: 136.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00462/1.038, allocations: 453.5 kB / 0.5533 GB, free: 136.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00122/1.04, allocations: 0.6989 MB / 0.554 GB, free: 136.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04703/1.087, allocations: 18.23 MB / 0.5718 GB, free: 131.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/1.187, allocations: 59.34 MB / 0.6297 GB, free: 82.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03177/1.219, allocations: 46.73 MB / 0.6754 GB, free: 30.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007442/1.226, allocations: 4.275 MB / 0.6796 GB, free: 26.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02413/1.25, allocations: 12.36 MB / 0.6916 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/1.25, allocations: 73.58 kB / 0.6917 GB, free: 14.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 5.69e-06/1.25, allocations: 0 / 0.6917 GB, free: 14.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04066/1.291, allocations: 19.3 MB / 0.7105 GB, free: 10.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/1.291, allocations: 94.41 kB / 0.7106 GB, free: 10.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007981/1.299, allocations: 4.339 MB / 0.7149 GB, free: 6.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008586/1.3, allocations: 85.7 kB / 0.7149 GB, free: 6.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003688/1.304, allocations: 4.826 MB / 0.7197 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.306, allocations: 1.361 MB / 0.721 GB, free: 112 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/1.308, allocations: 1.266 MB / 0.7222 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.308, allocations: 304.1 kB / 0.7225 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.313, allocations: 3.12 MB / 0.7256 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/1.32, allocations: 5.74 MB / 0.7312 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.333, allocations: 9.443 MB / 0.7404 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.663e-05/1.333, allocations: 31.94 kB / 0.7404 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.3088/1.642, allocations: 10.27 MB / 0.7504 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/1.642, allocations: 43.42 kB / 0.7505 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/1.642, allocations: 86.72 kB / 0.7506 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/1.647, allocations: 1.452 MB / 0.752 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005941/1.653, allocations: 1.458 MB / 0.7534 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/1.672, allocations: 11.45 MB / 0.7646 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006116/1.678, allocations: 399.7 kB / 0.765 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/1.679, allocations: 328.4 kB / 0.7653 GB, free: 161.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01135/1.691, allocations: 4.176 MB / 0.7694 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001357/1.692, allocations: 451.8 kB / 0.7698 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/1.705, allocations: 7.34 MB / 0.777 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009411/1.715, allocations: 6.04 MB / 0.7829 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.715, allocations: 11.75 kB / 0.7829 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.41e-05/1.715, allocations: 19.17 kB / 0.7829 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/1.744, allocations: 16.34 MB / 0.7989 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/1.744, allocations: 2.906 kB / 0.7989 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002995/1.747, allocations: 0.7222 MB / 0.7996 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/1.75, allocations: 1.302 MB / 0.8008 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006043/1.751, allocations: 85.91 kB / 0.8009 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/1.763, allocations: 10.18 MB / 0.8109 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.764, allocations: 4 kB / 0.8109 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.778, allocations: 10.54 MB / 0.8212 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.781, allocations: 1.046 MB / 0.8222 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007642/1.782, allocations: 68 kB / 0.8222 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.784, allocations: 251.6 kB / 0.8225 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006766/1.785, allocations: 271.6 kB / 0.8227 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.785, allocations: 119.8 kB / 0.8229 GB, free: 129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004276/1.789, allocations: 2.904 MB / 0.8257 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/1.789, allocations: 0 / 0.8257 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007802/1.797, allocations: 1.843 MB / 0.8275 GB, free: 124.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000844/1.798, allocations: 267.5 kB / 0.8277 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.809, allocations: 7.91 MB / 0.8355 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.809, allocations: 0 / 0.8355 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005235/1.815, allocations: 3.643 MB / 0.839 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/1.819, allocations: 1.092 MB / 0.8401 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03091/1.85, allocations: 18.72 MB / 0.8584 GB, free: 92.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006634/1.857, allocations: 7.032 MB / 0.8652 GB, free: 85.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005561/1.863, allocations: 2.248 MB / 0.8674 GB, free: 83.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.864, allocations: 367.4 kB / 0.8678 GB, free: 82.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.925e-06/1.864, allocations: 0 / 0.8678 GB, free: 82.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.111/1.975, allocations: 71.92 MB / 0.938 GB, free: 10.97 MB / 0.5137 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)