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.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.2.2_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.2.2_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.001277/0.001277, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001089/0.001089, allocations: 190 kB / 17.54 MB, free: 6.066 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.304/1.304, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001395/0.001395, allocations: 51.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 46.63 MB / 326.2 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03847/0.1554, allocations: 24.45 MB / 350.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.1759, allocations: 7.245 MB / 357.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006745/0.1827, allocations: 151.5 kB / 358 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02148/0.2043, allocations: 8.336 MB / 366.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.216, allocations: 2.703 MB / 369.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006027/0.2221, allocations: 1.606 MB / 370.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2673/0.4894, allocations: 10.83 MB / 381.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04292/0.5324, allocations: 25.32 MB / 406.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.5429, allocations: 5.82 MB / 412.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01972/0.5626, allocations: 7.245 MB / 419.9 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007522/0.5702, allocations: 1.753 MB / 421.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009098/0.5793, allocations: 2.051 MB / 423.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007867/0.5873, allocations: 3.223 MB / 426.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01665/0.6039, allocations: 6.186 MB / 433.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03258/0.6366, allocations: 22.27 MB / 455.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.6366, allocations: 4 kB / 455.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6366, allocations: 0 / 455.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006801/0.6373, allocations: 0 / 455.4 MB, free: 13.35 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.0492/0.6865, allocations: 12.99 MB / 468.4 MB, free: 384 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6866, allocations: 8.031 kB / 468.4 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03981/0.7264, allocations: 7.14 MB / 475.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/0.7435, allocations: 6.154 MB / 481.7 MB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008179/0.7444, allocations: 0.7117 MB / 482.4 MB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005893/0.7503, allocations: 0.9394 MB / 483.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05551/0.8058, allocations: 16.22 MB / 499.5 MB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000545/0.8064, allocations: 15.91 kB / 499.5 MB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004626/0.8111, allocations: 398.1 kB / 499.9 MB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006438/0.8117, allocations: 0.5747 MB / 0.4888 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03925/0.851, allocations: 15.47 MB / 0.5039 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5918/1.443, allocations: 52.83 MB / 0.5555 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02568/1.469, allocations: 35.52 MB / 0.5902 GB, free: 89.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006559/1.475, allocations: 3.432 MB / 0.5935 GB, free: 89.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/1.491, allocations: 10.17 MB / 0.6035 GB, free: 84.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/1.491, allocations: 62.86 kB / 0.6035 GB, free: 84.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 4.95e-06/1.491, allocations: 0 / 0.6035 GB, free: 84.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.02999/1.521, allocations: 15.1 MB / 0.6183 GB, free: 76.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/1.521, allocations: 81.59 kB / 0.6183 GB, free: 76.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00726/1.528, allocations: 3.85 MB / 0.6221 GB, free: 74.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000857/1.529, allocations: 76.58 kB / 0.6222 GB, free: 74.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002777/1.532, allocations: 4.251 MB / 0.6263 GB, free: 70.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001673/1.533, allocations: 1.07 MB / 0.6274 GB, free: 69.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/1.536, allocations: 1.098 MB / 0.6284 GB, free: 68.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/1.536, allocations: 309.1 kB / 0.6287 GB, free: 68.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/1.54, allocations: 2.58 MB / 0.6312 GB, free: 67.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/1.544, allocations: 4.944 MB / 0.6361 GB, free: 61.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007054/1.551, allocations: 8.019 MB / 0.6439 GB, free: 52.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/1.551, allocations: 24 kB / 0.6439 GB, free: 52.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01186/1.563, allocations: 8.692 MB / 0.6524 GB, free: 43.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/1.563, allocations: 40 kB / 0.6525 GB, free: 43.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/1.563, allocations: 83.94 kB / 0.6525 GB, free: 43.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/1.566, allocations: 1.211 MB / 0.6537 GB, free: 42.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/1.57, allocations: 1.228 MB / 0.6549 GB, free: 40.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/1.583, allocations: 9.815 MB / 0.6645 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/1.588, allocations: 331.3 kB / 0.6648 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.589, allocations: 291.8 kB / 0.6651 GB, free: 30.23 MB / 446.1 MB 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 (641): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007497/1.597, allocations: 3.732 MB / 0.6687 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.598, allocations: 379.3 kB / 0.6691 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.609, allocations: 5.855 MB / 0.6748 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007122/1.616, allocations: 4.822 MB / 0.6795 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/1.616, allocations: 12 kB / 0.6795 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/1.616, allocations: 15.94 kB / 0.6796 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/1.645, allocations: 13.79 MB / 0.693 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.645, allocations: 4 kB / 0.693 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.648, allocations: 0.5577 MB / 0.6936 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/1.651, allocations: 1.09 MB / 0.6946 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008785/1.652, allocations: 75.98 kB / 0.6947 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/1.668, allocations: 8.725 MB / 0.7032 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.668, allocations: 4 kB / 0.7032 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2552/1.923, allocations: 8.586 MB / 0.7116 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/1.926, allocations: 0.8747 MB / 0.7125 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008034/1.927, allocations: 62.47 kB / 0.7125 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/1.929, allocations: 192.2 kB / 0.7127 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006519/1.93, allocations: 217 kB / 0.7129 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.93, allocations: 97.58 kB / 0.713 GB, free: 148.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004149/1.934, allocations: 2.583 MB / 0.7155 GB, free: 148 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.934, allocations: 0 / 0.7155 GB, free: 148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007216/1.941, allocations: 1.557 MB / 0.7171 GB, free: 148 MB / 462.1 MB 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 (285): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000768/1.942, allocations: 249.8 kB / 0.7173 GB, free: 147.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02195/1.964, allocations: 10.19 MB / 0.7273 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.964, allocations: 3.969 kB / 0.7273 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00463/1.969, allocations: 2.979 MB / 0.7302 GB, free: 144.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/1.973, allocations: 0.9396 MB / 0.7311 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/2.007, allocations: 20.32 MB / 0.7509 GB, free: 132.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/2.018, allocations: 6.228 MB / 0.757 GB, free: 128.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006501/2.024, allocations: 1.885 MB / 0.7588 GB, free: 127.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/2.026, allocations: 302.4 kB / 0.7591 GB, free: 127.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/2.026, allocations: 0 / 0.7591 GB, free: 127.3 MB / 462.1 MB Notification: Performance of Templates: time 0.1054/2.131, allocations: 63.81 MB / 0.8214 GB, free: 66.27 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)