Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0009307/0.0009306, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009858/0.0009859, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.0008481/0.0008484, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2763, allocations: 47.57 MB / 326.5 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02267/0.299, allocations: 21.65 MB / 348.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.3148, allocations: 7.617 MB / 355.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004575/0.3194, allocations: 159.4 kB / 355.9 MB, free: 6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00551/0.3249, allocations: 1.637 MB / 357.5 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.3362, allocations: 2.836 MB / 360.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.3417, allocations: 1.275 MB / 361.6 MB, free: 240 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02043/0.3621, allocations: 10.92 MB / 372.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04488/0.4071, allocations: 19.65 MB / 392.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.4173, allocations: 4.404 MB / 396.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.4274, allocations: 4.798 MB / 401.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003628/0.4311, allocations: 0.7227 MB / 402.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005324/0.4364, allocations: 1.007 MB / 403.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004389/0.4409, allocations: 2.192 MB / 405.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004845/0.4457, allocations: 2.336 MB / 407.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02489/0.4706, allocations: 20.87 MB / 428.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4707, allocations: 0 / 428.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4707, allocations: 4 kB / 428.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007745/0.4715, allocations: 3.938 kB / 428.5 MB, free: 13.11 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.03701/0.5085, allocations: 12.31 MB / 440.9 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5086, allocations: 12.03 kB / 440.9 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05146/0.56, allocations: 9.252 MB / 450.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/0.5774, allocations: 6.819 MB / 456.9 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3136/0.891, allocations: 0.8096 MB / 457.7 MB, free: 90.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005244/0.8964, allocations: 1.074 MB / 458.8 MB, free: 90.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03952/0.9359, allocations: 18.59 MB / 477.4 MB, free: 83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002955/0.9362, allocations: 13.94 kB / 477.4 MB, free: 83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002189/0.9384, allocations: 454.8 kB / 477.9 MB, free: 82.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005078/0.939, allocations: 0.7042 MB / 478.6 MB, free: 82.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/0.9692, allocations: 18.15 MB / 496.7 MB, free: 66.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08871/1.058, allocations: 60.11 MB / 0.5438 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03863/1.097, allocations: 46.67 MB / 0.5894 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02672/1.123, allocations: 12.55 MB / 0.6016 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/1.124, allocations: 73.64 kB / 0.6017 GB, free: 4.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=395): time 5.731e-06/1.124, allocations: 4 kB / 0.6017 GB, free: 4.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=401): time 0.04652/1.17, allocations: 19.76 MB / 0.621 GB, free: 1.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/1.17, allocations: 98.48 kB / 0.6211 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1768/1.347, allocations: 4.263 MB / 0.6252 GB, free: 156.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006179/1.348, allocations: 92.58 kB / 0.6253 GB, free: 156.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/1.35, allocations: 4.804 MB / 0.63 GB, free: 153.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.351, allocations: 1.386 MB / 0.6314 GB, free: 152.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/1.351, allocations: 129.8 kB / 0.6315 GB, free: 152.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002872/1.352, allocations: 0.563 MB / 0.632 GB, free: 152.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/1.356, allocations: 3.166 MB / 0.6351 GB, free: 150.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/1.36, allocations: 5.765 MB / 0.6408 GB, free: 146.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/1.365, allocations: 4.445 MB / 0.6451 GB, free: 144.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-05/1.365, allocations: 23.31 kB / 0.6451 GB, free: 144.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01384/1.379, allocations: 10.34 MB / 0.6552 GB, free: 140.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/1.379, allocations: 42.25 kB / 0.6553 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/1.38, allocations: 99.05 kB / 0.6554 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/1.383, allocations: 1.4 MB / 0.6567 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00462/1.387, allocations: 1.476 MB / 0.6582 GB, free: 139.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/1.401, allocations: 10.86 MB / 0.6688 GB, free: 132.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/1.406, allocations: 403.5 kB / 0.6692 GB, free: 131.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.407, allocations: 327.3 kB / 0.6695 GB, free: 131.6 MB / 462.1 MB 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 (759): * Single equations (assignments): 754 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007293/1.414, allocations: 4.176 MB / 0.6735 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.415, allocations: 459.1 kB / 0.674 GB, free: 127.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.427, allocations: 7.473 MB / 0.6813 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008419/1.435, allocations: 6.126 MB / 0.6873 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/1.435, allocations: 12 kB / 0.6873 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-05/1.435, allocations: 19.92 kB / 0.6873 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02395/1.459, allocations: 16.54 MB / 0.7034 GB, free: 98.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.459, allocations: 0 / 0.7034 GB, free: 98.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/1.462, allocations: 0.7333 MB / 0.7042 GB, free: 97.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/1.465, allocations: 1.242 MB / 0.7054 GB, free: 96.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/1.465, allocations: 87.97 kB / 0.7055 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/1.477, allocations: 9.629 MB / 0.7149 GB, free: 86.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.477, allocations: 0 / 0.7149 GB, free: 86.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.492, allocations: 10.81 MB / 0.7254 GB, free: 75.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/1.495, allocations: 1.058 MB / 0.7265 GB, free: 74.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.496, allocations: 72 kB / 0.7265 GB, free: 74.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.498, allocations: 263.7 kB / 0.7268 GB, free: 73.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/1.499, allocations: 275.5 kB / 0.727 GB, free: 73.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/1.499, allocations: 116 kB / 0.7271 GB, free: 73.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003889/1.503, allocations: 2.838 MB / 0.7299 GB, free: 70.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/1.503, allocations: 0 / 0.7299 GB, free: 70.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006362/1.51, allocations: 1.849 MB / 0.7317 GB, free: 68.83 MB / 462.1 MB 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 (367): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000765/1.51, allocations: 264.3 kB / 0.732 GB, free: 68.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01125/1.522, allocations: 8.018 MB / 0.7398 GB, free: 60.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.522, allocations: 4.125 kB / 0.7398 GB, free: 60.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005681/1.527, allocations: 3.723 MB / 0.7434 GB, free: 56.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004631/1.532, allocations: 0.9751 MB / 0.7444 GB, free: 55.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0352/1.567, allocations: 22.47 MB / 0.7663 GB, free: 33.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008538/1.576, allocations: 7.212 MB / 0.7734 GB, free: 26.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005999/1.582, allocations: 2.248 MB / 0.7756 GB, free: 23.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.583, allocations: 371.4 kB / 0.7759 GB, free: 23.43 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/1.583, allocations: 0 / 0.7759 GB, free: 23.43 MB / 462.1 MB Notification: Performance of Templates: time 0.2673/1.85, allocations: 69.84 MB / 0.8441 GB, free: 112.1 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) Environment - environmentSimulation: