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.001167/0.001167, allocations: 105.6 kB / 17.06 MB, free: 6.117 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.001131/0.001132, allocations: 195 kB / 18 MB, free: 5.191 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.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.00131/0.00131, allocations: 55.92 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09426, allocations: 46.61 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.184/0.2783, allocations: 13.57 MB / 388.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007926/0.2863, allocations: 4.446 MB / 392.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.2885, allocations: 66.97 kB / 392.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003164/0.2916, allocations: 0.9963 MB / 393.6 MB, free: 2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.2956, allocations: 1.31 MB / 394.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.2976, allocations: 0.9057 MB / 395.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006045/0.3036, allocations: 4.103 MB / 399.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.3076, allocations: 3.189 MB / 403.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.3116, allocations: 1.902 MB / 405 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.315, allocations: 2.092 MB / 407.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008465/0.3159, allocations: 0.5079 MB / 407.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.3175, allocations: 0.7056 MB / 408.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.3186, allocations: 1.117 MB / 409.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.3216, allocations: 2.132 MB / 411.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006994/0.3286, allocations: 6.704 MB / 418.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3286, allocations: 0 / 418.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3286, allocations: 1.156 kB / 418.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001689/0.3288, allocations: 4 kB / 418.2 MB, free: 3.625 MB / 334.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.01261/0.3414, allocations: 4.402 MB / 422.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3415, allocations: 12.03 kB / 422.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/0.3456, allocations: 0.8163 MB / 423.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.35, allocations: 2.283 MB / 425.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.3502, allocations: 242.8 kB / 426 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/0.3506, allocations: 320.3 kB / 426.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006812/0.3575, allocations: 4.274 MB / 430.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/0.3575, allocations: 0 / 430.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.3578, allocations: 128 kB / 430.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.358, allocations: 154.4 kB / 430.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00597/0.364, allocations: 3.597 MB / 434.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02027/0.3843, allocations: 13.7 MB / 448.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/0.3908, allocations: 6.567 MB / 454.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.3931, allocations: 1.394 MB / 456.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006433/0.3996, allocations: 3.628 MB / 459.7 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.3997, allocations: 51.88 kB / 459.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 5.12e-06/0.3997, allocations: 0 / 459.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01184/0.4115, allocations: 5.871 MB / 465.7 MB, free: 2.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.4116, allocations: 68.72 kB / 465.7 MB, free: 2.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.4142, allocations: 1.792 MB / 467.5 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/0.4143, allocations: 53.7 kB / 467.6 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009872/0.4153, allocations: 1.43 MB / 469 MB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/0.4157, allocations: 481.1 kB / 469.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/0.4162, allocations: 319.2 kB / 469.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4164, allocations: 305.1 kB / 470.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4174, allocations: 0.6793 MB / 470.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4187, allocations: 1.197 MB / 472 MB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.4212, allocations: 2.003 MB / 474 MB, free: 9.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.4212, allocations: 4 kB / 474 MB, free: 9.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00396/0.4252, allocations: 2.539 MB / 476.5 MB, free: 7.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4252, allocations: 12 kB / 476.5 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.4252, allocations: 16 kB / 476.5 MB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009208/0.4262, allocations: 360.3 kB / 476.9 MB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4275, allocations: 383.3 kB / 477.3 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007387/0.4349, allocations: 8.403 MB / 485.7 MB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.4365, allocations: 75.95 kB / 485.7 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.4366, allocations: 76 kB / 485.8 MB, free: 13.41 MB / 414.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.001734/0.4383, allocations: 1.013 MB / 486.8 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.4387, allocations: 189.7 kB / 487 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.4423, allocations: 2.293 MB / 489.3 MB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.4424, allocations: 12 kB / 489.3 MB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.4424, allocations: 8 kB / 489.3 MB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.4424, allocations: 3.984 kB / 489.3 MB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007993/0.4504, allocations: 5.075 MB / 494.4 MB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.4504, allocations: 7.938 kB / 494.4 MB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.4512, allocations: 176 kB / 494.6 MB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.4526, allocations: 0.5322 MB / 495.1 MB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.4527, allocations: 43.98 kB / 495.2 MB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.4646, allocations: 13.21 MB / 0.4965 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4646, allocations: 7.969 kB / 0.4965 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00485/0.4695, allocations: 3.21 MB / 0.4996 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/0.4704, allocations: 426.6 kB / 0.5 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.4707, allocations: 39.94 kB / 0.5 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.4715, allocations: 67.94 kB / 0.5001 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/0.4718, allocations: 97.2 kB / 0.5002 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/0.4719, allocations: 43.98 kB / 0.5002 GB, free: 1.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001656/0.4735, allocations: 1.219 MB / 0.5014 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4735, allocations: 4 kB / 0.5014 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00221/0.4758, allocations: 0.5743 MB / 0.502 GB, free: 16 MB / 446.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.0003105/0.4761, allocations: 170.9 kB / 0.5022 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.4794, allocations: 2.366 MB / 0.5045 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/0.4794, allocations: 4 kB / 0.5045 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.4818, allocations: 1.753 MB / 0.5062 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.4841, allocations: 0.5426 MB / 0.5067 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009988/0.4941, allocations: 5.823 MB / 0.5124 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.4964, allocations: 2.311 MB / 0.5147 GB, free: 2.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001288/0.4977, allocations: 401 kB / 0.515 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.498, allocations: 123.4 kB / 0.5152 GB, free: 2.277 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.498, allocations: 0 / 0.5152 GB, free: 2.277 MB / 446.1 MB Notification: Performance of Templates: time 0.04903/0.5471, allocations: 30.65 MB / 0.5451 GB, free: 3.57 MB / 478.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)