Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.471/1.471, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.00131/0.00131, allocations: 60.34 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2291, allocations: 46.63 MB / 325.3 MB, free: 1.984 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01381/0.2429, allocations: 13.58 MB / 338.9 MB, free: 6.398 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008072/0.251, allocations: 4.42 MB / 343.3 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.2529, allocations: 71.69 kB / 343.4 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.2553, allocations: 0.9938 MB / 344.4 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.2587, allocations: 1.312 MB / 345.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.2605, allocations: 0.904 MB / 346.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.2645, allocations: 4.079 MB / 350.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.2677, allocations: 3.201 MB / 353.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.2699, allocations: 1.881 MB / 355.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.2723, allocations: 2.082 MB / 357.8 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006372/0.273, allocations: 0.5078 MB / 358.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.2743, allocations: 0.7224 MB / 359.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.2751, allocations: 1.118 MB / 360.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001947/0.2771, allocations: 2.136 MB / 362.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007119/0.2842, allocations: 6.652 MB / 369 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2842, allocations: 0 / 369 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2843, allocations: 0 / 369 MB, free: 8.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001381/0.2844, allocations: 0 / 369 MB, free: 8.152 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.009809/0.2942, allocations: 4.402 MB / 373.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2943, allocations: 12.02 kB / 373.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/0.2982, allocations: 0.8124 MB / 374.2 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/0.302, allocations: 2.268 MB / 376.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.3022, allocations: 242.8 kB / 376.7 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006317/0.3028, allocations: 324.1 kB / 377 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008108/0.311, allocations: 4.266 MB / 381.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.85e-05/0.3111, allocations: 7.906 kB / 381.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.3114, allocations: 136 kB / 381.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3115, allocations: 142.4 kB / 381.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005604/0.3171, allocations: 3.594 MB / 385.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01856/0.3357, allocations: 13.87 MB / 399 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/0.342, allocations: 6.571 MB / 405.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.3443, allocations: 1.39 MB / 407 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006239/0.3505, allocations: 3.647 MB / 410.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.3506, allocations: 47.81 kB / 410.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 4.458e-06/0.3506, allocations: 0 / 410.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=137): time 0.01703/0.3676, allocations: 5.871 MB / 416.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3677, allocations: 64.72 kB / 416.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.3722, allocations: 1.788 MB / 418.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.3723, allocations: 49.7 kB / 418.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.3738, allocations: 1.434 MB / 419.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005427/0.3743, allocations: 481.1 kB / 420.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007566/0.3751, allocations: 315.2 kB / 420.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3752, allocations: 305.1 kB / 421 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.377, allocations: 0.6793 MB / 421.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002397/0.3794, allocations: 1.197 MB / 422.8 MB, free: 276 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/0.3839, allocations: 1.999 MB / 424.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/0.3839, allocations: 11.88 kB / 424.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.007014/0.3909, allocations: 2.543 MB / 427.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.391, allocations: 12 kB / 427.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/0.3911, allocations: 16 kB / 427.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.3926, allocations: 368.3 kB / 427.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/0.3948, allocations: 379.4 kB / 428.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.4065, allocations: 8.411 MB / 436.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.4081, allocations: 75.95 kB / 436.6 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.4083, allocations: 79.94 kB / 436.7 MB, free: 1.559 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.002525/0.4108, allocations: 1.001 MB / 437.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006625/0.4115, allocations: 197.6 kB / 437.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006187/0.4177, allocations: 2.297 MB / 440.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.4177, allocations: 12 kB / 440.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/0.4178, allocations: 8 kB / 440.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.4178, allocations: 4.172 kB / 440.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.4284, allocations: 5.079 MB / 445.3 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.4285, allocations: 7.922 kB / 445.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/0.4293, allocations: 171.8 kB / 445.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4308, allocations: 0.5397 MB / 446 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.4309, allocations: 39.98 kB / 446.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1896/0.6205, allocations: 13.23 MB / 459.3 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6206, allocations: 5.875 kB / 459.3 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.6255, allocations: 3.22 MB / 462.5 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/0.6264, allocations: 420.5 kB / 462.9 MB, free: 103.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.6267, allocations: 36.3 kB / 463 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/0.6276, allocations: 64.02 kB / 463 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.6279, allocations: 105.1 kB / 463.1 MB, free: 103.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.6279, allocations: 41.22 kB / 463.2 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00161/0.6296, allocations: 1.225 MB / 464.4 MB, free: 102.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.6296, allocations: 96 / 464.4 MB, free: 102.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001942/0.6315, allocations: 0.5825 MB / 465 MB, free: 102.6 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.0002633/0.6318, allocations: 165.7 kB / 465.1 MB, free: 102.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004061/0.6359, allocations: 2.702 MB / 467.8 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6359, allocations: 0 / 467.8 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.638, allocations: 1.747 MB / 469.6 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.64, allocations: 0.538 MB / 470.1 MB, free: 99.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/0.6475, allocations: 5.893 MB / 476 MB, free: 96.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.649, allocations: 2.309 MB / 478.3 MB, free: 94.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.6502, allocations: 408 kB / 478.7 MB, free: 94.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.6505, allocations: 127 kB / 478.9 MB, free: 94.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6505, allocations: 0 / 478.9 MB, free: 94.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04022/0.6907, allocations: 29.7 MB / 0.4966 GB, free: 64.96 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)