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.005737/0.005737, allocations: 102 kB / 15.73 MB, free: 6.488 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.001219/0.00122, allocations: 194.6 kB / 16.68 MB, free: 6.375 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001159/0.001159, allocations: 50.36 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09045, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01814/0.1086, allocations: 13.56 MB / 386.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009974/0.1187, allocations: 4.431 MB / 391.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.1206, allocations: 75.69 kB / 391.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.1233, allocations: 1.041 MB / 392.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.1269, allocations: 1.348 MB / 393.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.1289, allocations: 0.9002 MB / 394.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.1337, allocations: 4.118 MB / 398.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003547/0.1373, allocations: 3.185 MB / 401.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.1405, allocations: 1.904 MB / 403.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.1432, allocations: 2.09 MB / 405.8 MB, free: 448 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005818/0.1438, allocations: 0.5118 MB / 406.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.145, allocations: 0.7028 MB / 407.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009331/0.1459, allocations: 1.114 MB / 408.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.148, allocations: 2.132 MB / 410.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.1548, allocations: 6.699 MB / 417 MB, free: 5.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1548, allocations: 0 / 417 MB, free: 5.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1548, allocations: 0 / 417 MB, free: 5.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001157/0.1549, allocations: 0 / 417 MB, free: 5.246 MB / 350.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.01093/0.1659, allocations: 4.41 MB / 421.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1659, allocations: 12.02 kB / 421.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.1702, allocations: 0.8203 MB / 422.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.1747, allocations: 2.276 MB / 424.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.175, allocations: 246.8 kB / 424.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008397/0.1758, allocations: 328 kB / 425.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008136/0.184, allocations: 4.267 MB / 429.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.522e-05/0.1841, allocations: 0 / 429.4 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.1844, allocations: 128 kB / 429.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.1846, allocations: 154.4 kB / 429.6 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006523/0.1911, allocations: 3.594 MB / 433.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02311/0.2143, allocations: 13.7 MB / 446.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2113/0.4257, allocations: 6.56 MB / 453.5 MB, free: 66.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.4288, allocations: 1.391 MB / 454.9 MB, free: 66.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005989/0.4348, allocations: 3.623 MB / 458.5 MB, free: 65.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4349, allocations: 54.47 kB / 458.6 MB, free: 65.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 2.785e-06/0.4349, allocations: 0 / 458.6 MB, free: 65.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01085/0.4457, allocations: 5.874 MB / 464.4 MB, free: 62.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.4458, allocations: 70.41 kB / 464.5 MB, free: 62.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.4482, allocations: 1.787 MB / 466.3 MB, free: 61.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.4483, allocations: 47.36 kB / 466.3 MB, free: 61.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/0.449, allocations: 1.436 MB / 467.8 MB, free: 60.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.4492, allocations: 480 kB / 468.2 MB, free: 60.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.4497, allocations: 319.9 kB / 468.5 MB, free: 59.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.4497, allocations: 301.1 kB / 468.8 MB, free: 59.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.4508, allocations: 0.6767 MB / 469.5 MB, free: 59.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.4521, allocations: 1.198 MB / 470.7 MB, free: 58.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.4544, allocations: 2.002 MB / 472.7 MB, free: 57.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.4544, allocations: 3.781 kB / 472.7 MB, free: 57.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003341/0.4578, allocations: 2.544 MB / 475.3 MB, free: 55.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.4578, allocations: 11.84 kB / 475.3 MB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.4579, allocations: 19.5 kB / 475.3 MB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008887/0.4588, allocations: 368.5 kB / 475.7 MB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.46, allocations: 380.7 kB / 476 MB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/0.4658, allocations: 8.408 MB / 484.4 MB, free: 48.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4673, allocations: 73.98 kB / 484.5 MB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.4675, allocations: 71.09 kB / 484.6 MB, free: 48.47 MB / 382.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.001647/0.4691, allocations: 1.005 MB / 485.6 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.4694, allocations: 195.3 kB / 485.8 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.4727, allocations: 2.287 MB / 488.1 MB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4727, allocations: 14.84 kB / 488.1 MB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4727, allocations: 7.281 kB / 488.1 MB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4727, allocations: 7.984 kB / 488.1 MB, free: 46.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/0.4787, allocations: 5.078 MB / 493.2 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4788, allocations: 4 kB / 493.2 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.4795, allocations: 167.8 kB / 493.3 MB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.4807, allocations: 0.5419 MB / 493.9 MB, free: 40.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.243e-05/0.4808, allocations: 41.02 kB / 493.9 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008713/0.4895, allocations: 13.22 MB / 0.4952 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4895, allocations: 0 / 0.4952 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.4936, allocations: 3.22 MB / 0.4984 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.4943, allocations: 430.5 kB / 0.4988 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.4945, allocations: 35.39 kB / 0.4988 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.4953, allocations: 63.94 kB / 0.4989 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.4956, allocations: 109.2 kB / 0.499 GB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.4957, allocations: 39.98 kB / 0.499 GB, free: 22.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.4971, allocations: 1.219 MB / 0.5002 GB, free: 21.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4971, allocations: 0 / 0.5002 GB, free: 21.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001944/0.4991, allocations: 0.5807 MB / 0.5008 GB, free: 21.16 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.0002571/0.4993, allocations: 172 kB / 0.501 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002823/0.5022, allocations: 2.359 MB / 0.5033 GB, free: 18.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5022, allocations: 4.25 kB / 0.5033 GB, free: 18.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.5041, allocations: 1.753 MB / 0.505 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.506, allocations: 0.5388 MB / 0.5055 GB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/0.514, allocations: 5.825 MB / 0.5112 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.5155, allocations: 2.303 MB / 0.5134 GB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001145/0.5167, allocations: 401 kB / 0.5138 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.5169, allocations: 123.4 kB / 0.5139 GB, free: 7.508 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5169, allocations: 0 / 0.5139 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Templates: time 0.05028/0.5672, allocations: 30.24 MB / 0.5435 GB, free: 9.234 MB / 414.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)