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.001271/0.001271, allocations: 103.8 kB / 16.92 MB, free: 6.145 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.00126/0.00126, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.36/1.36, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.001219/0.001219, allocations: 55.92 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09119, allocations: 46.63 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01567/0.1069, allocations: 13.57 MB / 340.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008323/0.1153, allocations: 4.439 MB / 344.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.1174, allocations: 71.69 kB / 344.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.1199, allocations: 0.9862 MB / 345.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.1239, allocations: 1.312 MB / 347 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.126, allocations: 0.908 MB / 347.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.1306, allocations: 4.087 MB / 352 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.1343, allocations: 3.181 MB / 355.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.1369, allocations: 1.877 MB / 357.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.1395, allocations: 2.09 MB / 359.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007173/0.1403, allocations: 0.5117 MB / 359.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1417, allocations: 0.7146 MB / 360.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00096/0.1427, allocations: 1.114 MB / 361.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.145, allocations: 2.136 MB / 363.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006165/0.1512, allocations: 6.652 MB / 370.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1512, allocations: 0 / 370.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1512, allocations: 0 / 370.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.559e-05/0.1513, allocations: 3.984 kB / 370.3 MB, free: 8.566 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.01031/0.1616, allocations: 4.402 MB / 374.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1617, allocations: 12.03 kB / 374.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00477/0.1665, allocations: 0.8163 MB / 375.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005905/0.1724, allocations: 2.268 MB / 377.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.1727, allocations: 242.8 kB / 378 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008857/0.1736, allocations: 324 kB / 378.3 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2017/0.3753, allocations: 4.264 MB / 382.6 MB, free: 47.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.186e-05/0.3754, allocations: 8.469 kB / 382.6 MB, free: 47.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.3757, allocations: 128 kB / 382.7 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3759, allocations: 148.9 kB / 382.9 MB, free: 47.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006107/0.382, allocations: 3.596 MB / 386.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.4001, allocations: 13.89 MB / 400.4 MB, free: 37.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.405, allocations: 6.559 MB / 406.9 MB, free: 31.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.4069, allocations: 1.393 MB / 408.3 MB, free: 30.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004906/0.4118, allocations: 3.638 MB / 412 MB, free: 27.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4119, allocations: 51.88 kB / 412 MB, free: 27.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 2.625e-06/0.4119, allocations: 0 / 412 MB, free: 27.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=137): time 0.008989/0.4209, allocations: 5.859 MB / 417.9 MB, free: 21.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4209, allocations: 72.7 kB / 417.9 MB, free: 21.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.4231, allocations: 1.788 MB / 419.7 MB, free: 19.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/0.4232, allocations: 45.7 kB / 419.8 MB, free: 19.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.424, allocations: 1.438 MB / 421.2 MB, free: 17.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.4243, allocations: 480.3 kB / 421.7 MB, free: 17.51 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.4247, allocations: 315.3 kB / 422 MB, free: 17.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.4247, allocations: 301.1 kB / 422.3 MB, free: 16.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008685/0.4256, allocations: 0.6917 MB / 423 MB, free: 16.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4266, allocations: 1.19 MB / 424.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.4286, allocations: 2.003 MB / 426.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.4286, allocations: 4 kB / 426.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003258/0.4319, allocations: 2.548 MB / 428.7 MB, free: 9.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4319, allocations: 12 kB / 428.7 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4319, allocations: 16 kB / 428.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/0.4327, allocations: 371.7 kB / 429.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.434, allocations: 379.4 kB / 429.5 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005789/0.4398, allocations: 8.409 MB / 437.9 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4413, allocations: 83.95 kB / 438 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.864e-05/0.4414, allocations: 80.12 kB / 438 MB, free: 120 kB / 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.001677/0.4431, allocations: 1.001 MB / 439 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.4434, allocations: 193.6 kB / 439.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.4473, allocations: 2.292 MB / 441.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.4473, allocations: 16 kB / 441.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4473, allocations: 8 kB / 441.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.4474, allocations: 7.969 kB / 441.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/0.455, allocations: 5.073 MB / 446.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.455, allocations: 8.188 kB / 446.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.4558, allocations: 175.8 kB / 446.8 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.4572, allocations: 0.5363 MB / 447.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.4573, allocations: 39.98 kB / 447.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.4695, allocations: 13.23 MB / 460.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4695, allocations: 0 / 460.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.4746, allocations: 3.22 MB / 463.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009/0.4755, allocations: 426.6 kB / 464.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.4757, allocations: 31.98 kB / 464.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.4766, allocations: 63.95 kB / 464.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.4769, allocations: 105.2 kB / 464.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.477, allocations: 36 kB / 464.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.4787, allocations: 1.223 MB / 465.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4787, allocations: 0 / 465.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001997/0.4807, allocations: 0.582 MB / 466.3 MB, free: 2.762 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.0003038/0.481, allocations: 177.6 kB / 466.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0048/0.4858, allocations: 2.692 MB / 469.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4858, allocations: 0 / 469.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.4883, allocations: 1.755 MB / 470.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.4904, allocations: 0.5333 MB / 471.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009367/0.4998, allocations: 5.899 MB / 477.3 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001913/0.5017, allocations: 2.307 MB / 479.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001414/0.5032, allocations: 397 kB / 480 MB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.5035, allocations: 127.4 kB / 480.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5035, allocations: 0 / 480.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of Templates: time 0.05013/0.5536, allocations: 29.72 MB / 0.4979 GB, free: 6.953 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)