Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 108.7 kB / 17.74 MB, free: 5.203 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.001684/0.001684, allocations: 190.5 kB / 18.68 MB, free: 4.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1764/0.1764, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.89 kB / 458.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 58.05 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007367/0.3179, allocations: 6.258 MB / 0.5109 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3204, allocations: 1.419 MB / 0.5123 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00067/0.3211, allocations: 26.75 kB / 0.5123 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006942/0.3218, allocations: 140.3 kB / 0.5124 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.3231, allocations: 411.2 kB / 0.5128 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.3238, allocations: 200.3 kB / 0.513 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.3255, allocations: 1.085 MB / 0.5141 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.3261, allocations: 353.1 kB / 0.5144 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.3269, allocations: 468.6 kB / 0.5148 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00083/0.3277, allocations: 0.534 MB / 0.5154 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3278, allocations: 64.5 kB / 0.5154 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.328, allocations: 65.88 kB / 0.5155 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.3283, allocations: 308.2 kB / 0.5158 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.3287, allocations: 365.9 kB / 0.5161 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.3297, allocations: 0.8444 MB / 0.517 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3297, allocations: 0.5938 kB / 0.517 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3297, allocations: 0 / 0.517 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3297, allocations: 0.5625 kB / 0.517 GB, free: 384 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002101/0.3318, allocations: 1.027 MB / 0.518 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3319, allocations: 12.7 kB / 0.518 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.3321, allocations: 76.47 kB / 0.518 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.3331, allocations: 0.5816 MB / 0.5186 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3333, allocations: 118.2 kB / 0.5187 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3334, allocations: 54.98 kB / 0.5188 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.3347, allocations: 0.7749 MB / 0.5195 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3348, allocations: 0 / 0.5195 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.3348, allocations: 25.75 kB / 0.5196 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.335, allocations: 33.25 kB / 0.5196 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.3364, allocations: 0.7206 MB / 0.5203 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.3405, allocations: 2.606 MB / 0.5228 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.3422, allocations: 0.8015 MB / 0.5236 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.3429, allocations: 404 kB / 0.524 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.3429, allocations: 8.547 kB / 0.524 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.343, allocations: 42.44 kB / 0.5241 GB, free: 12.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.655e-06/0.343, allocations: 0 / 0.5241 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004151/0.3472, allocations: 2.153 MB / 0.5262 GB, free: 11.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3472, allocations: 83.52 kB / 0.5262 GB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.3477, allocations: 405.9 kB / 0.5266 GB, free: 10.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.3477, allocations: 32.52 kB / 0.5267 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.3479, allocations: 287.3 kB / 0.5269 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.3481, allocations: 188 kB / 0.5271 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.3483, allocations: 95.78 kB / 0.5272 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3484, allocations: 368.7 kB / 0.5276 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.349, allocations: 275.3 kB / 0.5278 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.3496, allocations: 377.1 kB / 0.5282 GB, free: 9.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3508, allocations: 0.6496 MB / 0.5288 GB, free: 9.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3508, allocations: 1.062 kB / 0.5288 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001524/0.3523, allocations: 0.8784 MB / 0.5297 GB, free: 9.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3523, allocations: 7.812 kB / 0.5297 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3523, allocations: 11.53 kB / 0.5297 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.3526, allocations: 73.67 kB / 0.5298 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.3541, allocations: 307.1 kB / 0.5301 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.36, allocations: 6.541 MB / 0.5364 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.3605, allocations: 40.11 kB / 0.5365 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.3606, allocations: 18.75 kB / 0.5365 GB, free: 2.641 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000375/0.361, allocations: 242.5 kB / 0.5367 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.3611, allocations: 51.05 kB / 0.5368 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3626, allocations: 0.8312 MB / 0.5376 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3627, allocations: 0 / 0.5376 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3627, allocations: 1.031 kB / 0.5376 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3628, allocations: 122.5 kB / 0.5377 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/0.3629, allocations: 12.75 kB / 0.5377 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.3632, allocations: 37.83 kB / 0.5378 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3633, allocations: 39.84 kB / 0.5378 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002907/0.3662, allocations: 1.194 MB / 0.539 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001919/0.3682, allocations: 1.274 MB / 0.5402 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005608/0.3687, allocations: 339.1 kB / 0.5405 GB, free: 64 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003392/0.3691, allocations: 282.4 kB / 0.5408 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.3691, allocations: 3.938 kB / 0.5408 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.3717, allocations: 0.892 MB / 0.5417 GB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 0.002323/0.374, allocations: 1.794 MB / 0.5434 GB, free: 13.97 MB / 414.1 MB Notification: Performance of Templates: time 0.01527/0.3893, allocations: 8.579 MB / 0.5518 GB, free: 7.219 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)