Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 105.7 kB / 16.62 MB, free: 6.809 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.001532/0.001532, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.39/1.39, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001893/0.001893, allocations: 51.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 46.64 MB / 326.2 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01389/0.1198, allocations: 13.42 MB / 339.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008039/0.1279, allocations: 4.37 MB / 343.9 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.1296, allocations: 67.75 kB / 344 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.1321, allocations: 0.8668 MB / 344.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.1357, allocations: 1.177 MB / 346.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1376, allocations: 0.8187 MB / 346.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.1423, allocations: 4.25 MB / 351.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.1457, allocations: 3.189 MB / 354.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.1479, allocations: 1.779 MB / 356.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.1505, allocations: 2.059 MB / 358.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007155/0.1512, allocations: 0.5078 MB / 358.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1525, allocations: 0.7146 MB / 359.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009065/0.1534, allocations: 1.11 MB / 360.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.1557, allocations: 2.132 MB / 362.6 MB, free: 108 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005879/0.1616, allocations: 6.621 MB / 369.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1616, allocations: 4 kB / 369.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1617, allocations: 0 / 369.2 MB, free: 9.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.1618, allocations: 0 / 369.2 MB, free: 9.461 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01112/0.1729, allocations: 4.402 MB / 373.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.173, allocations: 12.03 kB / 373.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004289/0.1773, allocations: 0.8163 MB / 374.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/0.1815, allocations: 2.209 MB / 376.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.1817, allocations: 246.8 kB / 376.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006075/0.1823, allocations: 328 kB / 377.2 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1541/0.3364, allocations: 4.263 MB / 381.5 MB, free: 48.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/0.3366, allocations: 2.828 kB / 381.5 MB, free: 48.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.337, allocations: 134 kB / 381.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.3371, allocations: 147.4 kB / 381.8 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007051/0.3442, allocations: 3.598 MB / 385.4 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.3653, allocations: 13.89 MB / 399.3 MB, free: 37.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005124/0.3705, allocations: 6.559 MB / 405.8 MB, free: 31.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.3724, allocations: 1.389 MB / 407.2 MB, free: 30.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005047/0.3775, allocations: 3.635 MB / 410.9 MB, free: 28.2 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3775, allocations: 49.25 kB / 410.9 MB, free: 28.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 3.677e-06/0.3776, allocations: 3.938 kB / 410.9 MB, free: 28.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.01/0.3876, allocations: 5.868 MB / 416.8 MB, free: 22.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.3876, allocations: 72.72 kB / 416.8 MB, free: 22.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.3897, allocations: 1.788 MB / 418.6 MB, free: 20.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3898, allocations: 45.7 kB / 418.7 MB, free: 20.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/0.3904, allocations: 1.434 MB / 420.1 MB, free: 19.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.3907, allocations: 480.4 kB / 420.6 MB, free: 18.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.3911, allocations: 311.3 kB / 420.9 MB, free: 18.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.3912, allocations: 301.1 kB / 421.2 MB, free: 18.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000844/0.392, allocations: 0.6871 MB / 421.9 MB, free: 17.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009963/0.393, allocations: 1.197 MB / 423.1 MB, free: 16.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.395, allocations: 1.997 MB / 425.1 MB, free: 13.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.395, allocations: 8 kB / 425.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003287/0.3983, allocations: 2.539 MB / 427.6 MB, free: 11.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.3983, allocations: 12 kB / 427.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.3984, allocations: 16 kB / 427.6 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008492/0.3992, allocations: 368.2 kB / 428 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4004, allocations: 375.4 kB / 428.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/0.406, allocations: 8.421 MB / 436.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4075, allocations: 83.95 kB / 436.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.4076, allocations: 76 kB / 436.9 MB, free: 1.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001724/0.4094, allocations: 1.001 MB / 437.9 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.4097, allocations: 193.6 kB / 438.1 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.4137, allocations: 2.296 MB / 440.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4137, allocations: 12 kB / 440.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.4138, allocations: 8 kB / 440.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.4138, allocations: 9.719 kB / 440.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00793/0.4217, allocations: 5.077 MB / 445.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.4217, allocations: 192 / 445.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007856/0.4225, allocations: 175.8 kB / 445.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.424, allocations: 0.5402 MB / 446.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4241, allocations: 39.98 kB / 446.3 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.4358, allocations: 13.23 MB / 459.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4358, allocations: 4.031 kB / 459.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/0.441, allocations: 3.22 MB / 462.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.4421, allocations: 426.6 kB / 463.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/0.4424, allocations: 36.17 kB / 463.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/0.4433, allocations: 63.95 kB / 463.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.4437, allocations: 109.1 kB / 463.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.4438, allocations: 36 kB / 463.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001858/0.4456, allocations: 1.231 MB / 464.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4456, allocations: 0 / 464.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002191/0.4478, allocations: 0.5781 MB / 465.2 MB, free: 3.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003417/0.4482, allocations: 161.9 kB / 465.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004906/0.4531, allocations: 2.696 MB / 468 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.4531, allocations: 4 kB / 468.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.4556, allocations: 1.751 MB / 469.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.4582, allocations: 0.534 MB / 470.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.4689, allocations: 7.223 MB / 477.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001982/0.4709, allocations: 2.309 MB / 479.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001587/0.4725, allocations: 397 kB / 480.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.4728, allocations: 127.4 kB / 480.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4729, allocations: 0 / 480.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of Templates: time 0.05196/0.5248, allocations: 29.66 MB / 0.4981 GB, free: 6.922 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)