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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001179/0.001179, allocations: 184.3 kB / 13.65 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.673/1.673, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001657/0.001657, allocations: 114.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.289e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09437, allocations: 44.51 MB / 349.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.4736, allocations: 125.8 MB / 475.3 MB, free: 2.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.474, allocations: 107.7 kB / 475.4 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.736/2.21, allocations: 381.3 MB / 0.8366 GB, free: 25.04 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.034e-06/2.21, allocations: 0 / 0.8366 GB, free: 25.04 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0007146/2.21, allocations: 240.2 kB / 0.8368 GB, free: 25.04 MB / 410.8 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.0378/2.248, allocations: 10.27 MB / 0.8468 GB, free: 23.52 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/2.248, allocations: 9.344 kB / 0.8468 GB, free: 23.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/2.285, allocations: 6.281 MB / 0.853 GB, free: 22.95 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02377/2.308, allocations: 8.745 MB / 0.8615 GB, free: 21.94 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/2.309, allocations: 0.8027 MB / 0.8623 GB, free: 21.92 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005003/2.315, allocations: 1.03 MB / 0.8633 GB, free: 21.91 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0546/2.369, allocations: 19.02 MB / 0.8819 GB, free: 20.66 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008731/2.37, allocations: 14.81 kB / 0.8819 GB, free: 20.65 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006678/2.377, allocations: 452.1 kB / 0.8823 GB, free: 20.65 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/2.378, allocations: 0.8179 MB / 0.8831 GB, free: 20.63 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05457/2.433, allocations: 17.83 MB / 0.9005 GB, free: 20.53 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1302/2.563, allocations: 61.39 MB / 0.9605 GB, free: 6.547 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03295/2.596, allocations: 25.16 MB / 0.985 GB, free: 14.77 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01641/2.613, allocations: 8.329 MB / 0.9932 GB, free: 7.156 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3659/2.979, allocations: 26.71 MB / 1.019 GB, free: 67.54 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.418e-05/2.979, allocations: 103.1 kB / 1.019 GB, free: 67.49 MB / 458.8 MB Notification: Performance of pre-optimization done (n=832): time 1.213e-05/2.979, allocations: 3.688 kB / 1.019 GB, free: 67.49 MB / 458.8 MB Notification: Performance of matching and sorting (n=838): time 0.04519/3.024, allocations: 27.88 MB / 1.047 GB, free: 65.75 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/3.024, allocations: 126.3 kB / 1.047 GB, free: 65.68 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/3.028, allocations: 2.675 MB / 1.049 GB, free: 65.42 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001217/3.029, allocations: 142.2 kB / 1.049 GB, free: 65.39 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/3.031, allocations: 3.85 MB / 1.053 GB, free: 63.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002589/3.033, allocations: 2.762 MB / 1.056 GB, free: 61.71 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/3.034, allocations: 140.6 kB / 1.056 GB, free: 61.71 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004251/3.034, allocations: 0.6359 MB / 1.057 GB, free: 61.39 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006782/3.041, allocations: 5.488 MB / 1.062 GB, free: 61.37 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008197/3.049, allocations: 6.954 MB / 1.069 GB, free: 59.91 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009236/3.058, allocations: 6.649 MB / 1.075 GB, free: 59.81 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-05/3.059, allocations: 9.938 kB / 1.075 GB, free: 59.81 MB / 458.8 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.02671/3.085, allocations: 16.08 MB / 1.091 GB, free: 53.78 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/3.085, allocations: 21.41 kB / 1.091 GB, free: 53.78 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/3.086, allocations: 38.12 kB / 1.091 GB, free: 53.78 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008365/3.094, allocations: 4.995 MB / 1.096 GB, free: 52.37 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006213/3.1, allocations: 1.341 MB / 1.097 GB, free: 52.33 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/3.112, allocations: 12.35 MB / 1.109 GB, free: 45.24 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/3.118, allocations: 421 kB / 1.11 GB, free: 45.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/3.119, allocations: 320.5 kB / 1.11 GB, free: 45.06 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (704): * Single equations (assignments): 638 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.00127/3.12, allocations: 492.9 kB / 1.11 GB, free: 44.72 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/3.121, allocations: 0.4937 MB / 1.111 GB, free: 44.45 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02266/3.144, allocations: 15.9 MB / 1.127 GB, free: 31.05 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01992/3.164, allocations: 14.12 MB / 1.14 GB, free: 18.61 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/3.164, allocations: 0 / 1.14 GB, free: 18.61 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-05/3.164, allocations: 33.98 kB / 1.14 GB, free: 18.61 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3139/3.478, allocations: 32.36 MB / 1.172 GB, free: 63.26 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/3.478, allocations: 1.688 kB / 1.172 GB, free: 63.26 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005072/3.483, allocations: 1.023 MB / 1.173 GB, free: 63.26 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009033/3.492, allocations: 4.797 MB / 1.178 GB, free: 63.17 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001726/3.494, allocations: 175.1 kB / 1.178 GB, free: 63.17 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/3.506, allocations: 12.15 MB / 1.19 GB, free: 60.03 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.506, allocations: 3.094 kB / 1.19 GB, free: 60.03 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03207/3.538, allocations: 23.54 MB / 1.213 GB, free: 59.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004549/3.543, allocations: 1.806 MB / 1.214 GB, free: 59.41 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/3.545, allocations: 116 kB / 1.215 GB, free: 59.41 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004305/3.549, allocations: 369.3 kB / 1.215 GB, free: 59.41 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001485/3.55, allocations: 0.5938 MB / 1.215 GB, free: 59.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006485/3.551, allocations: 228.1 kB / 1.216 GB, free: 59.4 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002941/3.554, allocations: 2.018 MB / 1.218 GB, free: 59.24 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.1e-07/3.554, allocations: 0 / 1.218 GB, free: 59.24 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007642/3.562, allocations: 1.991 MB / 1.22 GB, free: 59.24 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,17 116} Notification: Performance of Backend phase and start with SimCode phase: time 0.001707/3.563, allocations: 0.6312 MB / 1.22 GB, free: 59.14 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02148/3.585, allocations: 13.41 MB / 1.233 GB, free: 58.82 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/3.585, allocations: 0 / 1.233 GB, free: 58.82 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01365/3.599, allocations: 6.99 MB / 1.24 GB, free: 58.65 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007654/3.606, allocations: 0.9842 MB / 1.241 GB, free: 58.62 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0454/3.652, allocations: 20.89 MB / 1.261 GB, free: 52.64 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/3.663, allocations: 7.376 MB / 1.269 GB, free: 49.12 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006746/3.669, allocations: 1.845 MB / 1.27 GB, free: 47.85 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/3.671, allocations: 379.8 kB / 1.271 GB, free: 47.51 MB / 458.8 MB Notification: Performance of SimCode: time 1.362e-06/3.671, allocations: 0 / 1.271 GB, free: 47.51 MB / 458.8 MB Notification: Performance of Templates: time 0.4608/4.132, allocations: 122.8 MB / 1.391 GB, free: 51.02 MB / 458.8 MB 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)