Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001596/0.001596, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.435/1.435, allocations: 205.1 MB / 222 MB, free: 4.742 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.001088/0.001088, allocations: 55.91 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2014, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01514/0.2166, allocations: 13.42 MB / 338.1 MB, free: 6.699 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008623/0.2253, allocations: 4.393 MB / 342.5 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.2274, allocations: 67.75 kB / 342.6 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.2299, allocations: 0.8667 MB / 343.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.2334, allocations: 1.177 MB / 344.6 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.2352, allocations: 0.8504 MB / 345.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004664/0.2399, allocations: 4.328 MB / 349.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2428, allocations: 2.631 MB / 352.4 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.2447, allocations: 1.518 MB / 353.9 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.2467, allocations: 1.914 MB / 355.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004281/0.2471, allocations: 304 kB / 356.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.2482, allocations: 0.5036 MB / 356.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000716/0.2489, allocations: 0.8876 MB / 357.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.2507, allocations: 1.897 MB / 359.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005092/0.2558, allocations: 6.48 MB / 365.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2558, allocations: 0 / 365.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2559, allocations: 0 / 365.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.326e-05/0.256, allocations: 0 / 365.9 MB, free: 10.73 MB / 302.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.009493/0.2655, allocations: 4.394 MB / 370.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2655, allocations: 12.03 kB / 370.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.2696, allocations: 0.8163 MB / 371.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/0.273, allocations: 2.213 MB / 373.3 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.2732, allocations: 242.8 kB / 373.6 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.2736, allocations: 332 kB / 373.9 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00666/0.2803, allocations: 4.27 MB / 378.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.2804, allocations: 4 kB / 378.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.2807, allocations: 128 kB / 378.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.2808, allocations: 150.4 kB / 378.5 MB, free: 14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005645/0.2864, allocations: 3.597 MB / 382.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01844/0.3049, allocations: 13.88 MB / 395.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/0.3109, allocations: 6.579 MB / 402.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.3131, allocations: 1.39 MB / 403.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005419/0.3185, allocations: 3.636 MB / 407.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3186, allocations: 51.86 kB / 407.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.324e-06/0.3186, allocations: 0 / 407.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01077/0.3294, allocations: 5.871 MB / 413.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3294, allocations: 64.72 kB / 413.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.3318, allocations: 1.784 MB / 415.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.3319, allocations: 57.7 kB / 415.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009316/0.3328, allocations: 1.43 MB / 416.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.3332, allocations: 477.1 kB / 417.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.3336, allocations: 323.2 kB / 417.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3338, allocations: 305.1 kB / 417.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3348, allocations: 0.6754 MB / 418.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.3362, allocations: 1.197 MB / 419.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.3388, allocations: 2.007 MB / 421.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.3388, allocations: 4 kB / 421.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004086/0.3429, allocations: 2.543 MB / 424.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.343, allocations: 12.34 kB / 424.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.343, allocations: 24 kB / 424.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.344, allocations: 364 kB / 424.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.3454, allocations: 379.4 kB / 425.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00712/0.3526, allocations: 7.689 MB / 432.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.3538, allocations: 83.8 kB / 432.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.354, allocations: 76 kB / 432.9 MB, free: 4.914 MB / 366.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.001699/0.3557, allocations: 1.005 MB / 433.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.356, allocations: 197.6 kB / 434.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.3598, allocations: 2.289 MB / 436.4 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3598, allocations: 16 kB / 436.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3598, allocations: 8 kB / 436.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3599, allocations: 7.984 kB / 436.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00761/0.3675, allocations: 5.075 MB / 441.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.3675, allocations: 0 / 441.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.3683, allocations: 175.7 kB / 441.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.3697, allocations: 0.5362 MB / 442.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.3698, allocations: 39.98 kB / 442.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1594/0.5292, allocations: 12.08 MB / 454.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5292, allocations: 1.812 kB / 454.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004806/0.534, allocations: 3.215 MB / 457.5 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.5348, allocations: 424.1 kB / 458 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.5351, allocations: 37.55 kB / 458 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/0.5359, allocations: 60.66 kB / 458 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.5361, allocations: 113 kB / 458.2 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.5362, allocations: 38.98 kB / 458.2 MB, free: 106.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.5377, allocations: 1.223 MB / 459.4 MB, free: 106.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5378, allocations: 0 / 459.4 MB, free: 106.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001957/0.5397, allocations: 0.5797 MB / 460 MB, free: 106.2 MB / 382.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.0002664/0.54, allocations: 160.8 kB / 460.2 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.5428, allocations: 2.357 MB / 462.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5428, allocations: 5.938 kB / 462.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.5447, allocations: 1.743 MB / 464.3 MB, free: 103.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.5468, allocations: 0.5067 MB / 464.8 MB, free: 103.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.5551, allocations: 7.226 MB / 472 MB, free: 99.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.5566, allocations: 2.302 MB / 474.3 MB, free: 98.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.5579, allocations: 404.5 kB / 474.7 MB, free: 97.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.5582, allocations: 123.1 kB / 474.8 MB, free: 97.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5582, allocations: 0 / 474.8 MB, free: 97.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03816/0.5963, allocations: 28.61 MB / 0.4916 GB, free: 69.57 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)