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.001466/0.001466, allocations: 106.2 kB / 17.06 MB, free: 6.023 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.001702/0.001703, allocations: 191 kB / 18 MB, free: 5.105 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1757/0.1757, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.89 kB / 458.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3374, allocations: 58.05 MB / 0.5041 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007261/0.3447, allocations: 6.26 MB / 0.5102 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.347, allocations: 1.419 MB / 0.5116 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.3473, allocations: 22.38 kB / 0.5116 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.3478, allocations: 142 kB / 0.5117 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007892/0.3486, allocations: 418.6 kB / 0.5121 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3491, allocations: 192.2 kB / 0.5123 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.3502, allocations: 1.085 MB / 0.5134 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/0.3508, allocations: 357.4 kB / 0.5137 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008058/0.3516, allocations: 470.1 kB / 0.5142 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.3524, allocations: 0.5257 MB / 0.5147 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3525, allocations: 64.03 kB / 0.5148 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3527, allocations: 65.12 kB / 0.5148 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.3531, allocations: 313.2 kB / 0.5151 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.3535, allocations: 365 kB / 0.5155 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.3547, allocations: 0.845 MB / 0.5163 GB, free: 416 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3548, allocations: 0.5938 kB / 0.5163 GB, free: 416 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3548, allocations: 0 / 0.5163 GB, free: 416 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.3548, allocations: 0.5 kB / 0.5163 GB, free: 416 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.002628/0.3574, allocations: 1.008 MB / 0.5173 GB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.3575, allocations: 13.08 kB / 0.5173 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.3577, allocations: 72.66 kB / 0.5174 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3589, allocations: 0.5823 MB / 0.5179 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.3591, allocations: 115.5 kB / 0.518 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3592, allocations: 56.58 kB / 0.5181 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.3607, allocations: 0.7721 MB / 0.5188 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3607, allocations: 1.062 kB / 0.5188 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/0.3608, allocations: 21.12 kB / 0.5189 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.3609, allocations: 36.7 kB / 0.5189 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.3625, allocations: 0.723 MB / 0.5196 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.3668, allocations: 2.599 MB / 0.5221 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.3686, allocations: 0.8013 MB / 0.5229 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/0.3693, allocations: 395.1 kB / 0.5233 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.3694, allocations: 17.14 kB / 0.5233 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3694, allocations: 38.16 kB / 0.5234 GB, free: 12.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.555e-06/0.3694, allocations: 0.875 kB / 0.5234 GB, free: 12.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004741/0.3742, allocations: 2.14 MB / 0.5254 GB, free: 11.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3742, allocations: 87.11 kB / 0.5255 GB, free: 11.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.3747, allocations: 394.3 kB / 0.5259 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.3748, allocations: 34.95 kB / 0.5259 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.375, allocations: 288.5 kB / 0.5262 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.3751, allocations: 177.7 kB / 0.5264 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.3753, allocations: 101.5 kB / 0.5265 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3755, allocations: 358.5 kB / 0.5268 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.3761, allocations: 279.7 kB / 0.5271 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.3767, allocations: 385.9 kB / 0.5275 GB, free: 9.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.378, allocations: 0.6421 MB / 0.5281 GB, free: 9.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3781, allocations: 5.094 kB / 0.5281 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001565/0.3796, allocations: 0.8714 MB / 0.5289 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3797, allocations: 7.484 kB / 0.5289 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3797, allocations: 1.906 kB / 0.5289 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/0.38, allocations: 78.33 kB / 0.529 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.3815, allocations: 307.3 kB / 0.5293 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00632/0.3879, allocations: 6.53 MB / 0.5357 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.3884, allocations: 44.39 kB / 0.5357 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.3885, allocations: 22.39 kB / 0.5358 GB, free: 2.793 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.0003952/0.3889, allocations: 243.8 kB / 0.536 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.389, allocations: 50.59 kB / 0.536 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.3906, allocations: 0.827 MB / 0.5368 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.3906, allocations: 5.031 kB / 0.5368 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3906, allocations: 1.156 kB / 0.5368 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3907, allocations: 5.328 kB / 0.5369 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.3937, allocations: 1.682 MB / 0.5385 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3937, allocations: 2.094 kB / 0.5385 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.3955, allocations: 326.7 kB / 0.5388 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.3957, allocations: 87.2 kB / 0.5389 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.3958, allocations: 17.8 kB / 0.5389 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.3981, allocations: 3.162 MB / 0.542 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3981, allocations: 2.656 kB / 0.542 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.4003, allocations: 1.311 MB / 0.5433 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.4004, allocations: 128.4 kB / 0.5434 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.4005, allocations: 21.03 kB / 0.5434 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.4009, allocations: 39.14 kB / 0.5435 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.4011, allocations: 48.81 kB / 0.5435 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.4011, allocations: 15.22 kB / 0.5435 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003954/0.4015, allocations: 277.6 kB / 0.5438 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4015, allocations: 0 / 0.5438 GB, free: 12.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008086/0.4023, allocations: 150.9 kB / 0.5439 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 simulation (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 Backend phase and start with SimCode phase: time 0.000158/0.4025, allocations: 120.1 kB / 0.544 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.4058, allocations: 1.086 MB / 0.5451 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4058, allocations: 1.219 kB / 0.5451 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.408, allocations: 0.797 MB / 0.5459 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.4089, allocations: 141.8 kB / 0.546 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.4122, allocations: 1.582 MB / 0.5476 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.4129, allocations: 0.942 MB / 0.5485 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.4133, allocations: 127.4 kB / 0.5486 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.4135, allocations: 43.08 kB / 0.5486 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4135, allocations: 0 / 0.5486 GB, free: 9.137 MB / 414.1 MB Notification: Performance of Templates: time 0.01349/0.427, allocations: 7.942 MB / 0.5564 GB, free: 1.344 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)