Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 111.6 kB / 17.06 MB, free: 6 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.0009848/0.0009849, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.362/1.362, allocations: 222.9 MB / 241.7 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.2021/0.2021, allocations: 38.04 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.91 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3655, allocations: 58.06 MB / 0.5041 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008484/0.374, allocations: 6.346 MB / 0.5103 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.3768, allocations: 1.436 MB / 0.5117 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.3772, allocations: 26.78 kB / 0.5117 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.3778, allocations: 152.2 kB / 0.5119 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009323/0.3788, allocations: 432.2 kB / 0.5123 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.3794, allocations: 209.7 kB / 0.5125 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.3806, allocations: 1.117 MB / 0.5136 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.3811, allocations: 359.8 kB / 0.5139 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.3819, allocations: 488.2 kB / 0.5144 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.3828, allocations: 0.5355 MB / 0.5149 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.3829, allocations: 64.88 kB / 0.515 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3831, allocations: 70.38 kB / 0.515 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.3835, allocations: 320.8 kB / 0.5153 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.3839, allocations: 368.3 kB / 0.5157 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3851, allocations: 0.8792 MB / 0.5165 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3852, allocations: 0 / 0.5165 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3852, allocations: 0 / 0.5165 GB, free: 248 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.3852, allocations: 5.156 kB / 0.5166 GB, free: 244 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002368/0.3876, allocations: 1.015 MB / 0.5175 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3876, allocations: 13.55 kB / 0.5176 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.3878, allocations: 73.28 kB / 0.5176 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.3889, allocations: 0.593 MB / 0.5182 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.3891, allocations: 121.9 kB / 0.5183 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.3892, allocations: 52.53 kB / 0.5184 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.3908, allocations: 0.7826 MB / 0.5191 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3908, allocations: 1.156 kB / 0.5191 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.3909, allocations: 24.41 kB / 0.5192 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.391, allocations: 35.97 kB / 0.5192 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.3925, allocations: 0.6921 MB / 0.5199 GB, free: 14.45 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.3972, allocations: 2.698 MB / 0.5225 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3991, allocations: 0.8704 MB / 0.5234 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.3997, allocations: 331.4 kB / 0.5237 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.3998, allocations: 7.984 kB / 0.5237 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3998, allocations: 41.25 kB / 0.5237 GB, free: 12.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.434e-06/0.3998, allocations: 0 / 0.5237 GB, free: 12.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.00438/0.4042, allocations: 1.937 MB / 0.5256 GB, free: 11.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.4043, allocations: 86.8 kB / 0.5257 GB, free: 10.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.4049, allocations: 419 kB / 0.5261 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.405, allocations: 36.23 kB / 0.5261 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.4052, allocations: 314 kB / 0.5264 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.4053, allocations: 142.7 kB / 0.5266 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.4055, allocations: 90.95 kB / 0.5267 GB, free: 10.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4057, allocations: 356.9 kB / 0.527 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.4062, allocations: 235.2 kB / 0.5272 GB, free: 9.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.4068, allocations: 357.2 kB / 0.5276 GB, free: 9.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.4079, allocations: 0.5771 MB / 0.5281 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4079, allocations: 1.281 kB / 0.5281 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001537/0.4094, allocations: 0.7841 MB / 0.5289 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4095, allocations: 6.531 kB / 0.5289 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4095, allocations: 3.344 kB / 0.5289 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.4098, allocations: 82.56 kB / 0.529 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.4113, allocations: 284 kB / 0.5292 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006023/0.4174, allocations: 6.516 MB / 0.5356 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.418, allocations: 39.3 kB / 0.5356 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.418, allocations: 17.03 kB / 0.5357 GB, free: 2.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0004101/0.4184, allocations: 236.1 kB / 0.5359 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4185, allocations: 53.34 kB / 0.5359 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.42, allocations: 0.7334 MB / 0.5367 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.42, allocations: 9.375 kB / 0.5367 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.42, allocations: 1.062 kB / 0.5367 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.4201, allocations: 3.984 kB / 0.5367 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.4226, allocations: 1.496 MB / 0.5381 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4226, allocations: 1.5 kB / 0.5381 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/0.4243, allocations: 296.6 kB / 0.5384 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.4246, allocations: 85.81 kB / 0.5385 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.4247, allocations: 16.39 kB / 0.5385 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.427, allocations: 3.168 MB / 0.5416 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.427, allocations: 1.031 kB / 0.5416 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.4291, allocations: 1.122 MB / 0.5427 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.4293, allocations: 119.5 kB / 0.5428 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.4293, allocations: 7.156 kB / 0.5428 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.4297, allocations: 36.7 kB / 0.5429 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.4298, allocations: 39.61 kB / 0.5429 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.4299, allocations: 12.75 kB / 0.5429 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003901/0.4303, allocations: 294.4 kB / 0.5432 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4303, allocations: 4 kB / 0.5432 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007871/0.4311, allocations: 136.5 kB / 0.5433 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.0001508/0.4312, allocations: 112.6 kB / 0.5434 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.4339, allocations: 0.9836 MB / 0.5444 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.434, allocations: 0 / 0.5444 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.4359, allocations: 0.7456 MB / 0.5451 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.4369, allocations: 135.4 kB / 0.5452 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.4393, allocations: 1.425 MB / 0.5466 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.4398, allocations: 0.9486 MB / 0.5476 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.4401, allocations: 101.9 kB / 0.5477 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.4403, allocations: 41.06 kB / 0.5477 GB, free: 9.418 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4403, allocations: 3.938 kB / 0.5477 GB, free: 9.414 MB / 414.1 MB Notification: Performance of Templates: time 0.01324/0.4535, allocations: 7.762 MB / 0.5553 GB, free: 2.535 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)