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.001016/0.001016, allocations: 110.3 kB / 17.73 MB, free: 5.297 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.0009807/0.0009807, allocations: 185.4 kB / 18.67 MB, free: 4.375 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1785/0.1785, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3123, allocations: 58.06 MB / 0.5048 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006778/0.3191, allocations: 6.333 MB / 0.5109 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3212, allocations: 1.452 MB / 0.5124 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.3215, allocations: 22.56 kB / 0.5124 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.322, allocations: 147.9 kB / 0.5125 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007294/0.3227, allocations: 427.5 kB / 0.5129 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.3231, allocations: 214.9 kB / 0.5131 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009655/0.3241, allocations: 1.117 MB / 0.5142 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.3245, allocations: 361.6 kB / 0.5146 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005231/0.3251, allocations: 482.5 kB / 0.515 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.3258, allocations: 0.5403 MB / 0.5156 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.3259, allocations: 65.34 kB / 0.5156 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.3261, allocations: 70.72 kB / 0.5157 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.3264, allocations: 315.8 kB / 0.516 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.3268, allocations: 373.8 kB / 0.5163 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.3277, allocations: 0.8735 MB / 0.5172 GB, free: 312 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3277, allocations: 0.75 kB / 0.5172 GB, free: 312 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3277, allocations: 1.125 kB / 0.5172 GB, free: 312 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3278, allocations: 0 / 0.5172 GB, free: 312 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.002044/0.3298, allocations: 1.048 MB / 0.5182 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3299, allocations: 11.64 kB / 0.5182 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.33, allocations: 79.38 kB / 0.5183 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.331, allocations: 0.5944 MB / 0.5189 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.3313, allocations: 117.1 kB / 0.519 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.3314, allocations: 52.53 kB / 0.5191 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3327, allocations: 0.7833 MB / 0.5198 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3328, allocations: 3.938 kB / 0.5198 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.3328, allocations: 21.72 kB / 0.5198 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3329, allocations: 40.47 kB / 0.5199 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3343, allocations: 0.6901 MB / 0.5206 GB, free: 14.48 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.004028/0.3383, allocations: 2.706 MB / 0.5232 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.3401, allocations: 0.876 MB / 0.5241 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.3407, allocations: 326.4 kB / 0.5244 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3407, allocations: 5.094 kB / 0.5244 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3408, allocations: 41.73 kB / 0.5244 GB, free: 12.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.3408, allocations: 0 / 0.5244 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.003763/0.3445, allocations: 1.946 MB / 0.5263 GB, free: 11.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3446, allocations: 80.98 kB / 0.5264 GB, free: 11.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.3451, allocations: 432.1 kB / 0.5268 GB, free: 10.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.3451, allocations: 31.14 kB / 0.5268 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.3453, allocations: 326.9 kB / 0.5271 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3455, allocations: 140 kB / 0.5273 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3456, allocations: 89.52 kB / 0.5274 GB, free: 10.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3458, allocations: 362.7 kB / 0.5277 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.3463, allocations: 234.5 kB / 0.5279 GB, free: 9.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.3469, allocations: 354.8 kB / 0.5283 GB, free: 9.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3479, allocations: 0.573 MB / 0.5288 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3479, allocations: 1.25 kB / 0.5288 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001552/0.3495, allocations: 0.7926 MB / 0.5296 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3495, allocations: 5.719 kB / 0.5296 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3495, allocations: 4.688 kB / 0.5296 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.3498, allocations: 73.31 kB / 0.5297 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.3513, allocations: 292 kB / 0.53 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005823/0.3571, allocations: 6.511 MB / 0.5363 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.3575, allocations: 42.89 kB / 0.5364 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.3575, allocations: 17.06 kB / 0.5364 GB, free: 2.625 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.0003365/0.3579, allocations: 247.3 kB / 0.5366 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/0.358, allocations: 54.58 kB / 0.5367 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.3593, allocations: 0.7264 MB / 0.5374 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3594, allocations: 3.938 kB / 0.5374 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3594, allocations: 1.188 kB / 0.5374 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3595, allocations: 130 kB / 0.5375 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.3595, allocations: 7.969 kB / 0.5375 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.3599, allocations: 36.11 kB / 0.5375 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.36, allocations: 36.05 kB / 0.5376 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002771/0.3628, allocations: 1.076 MB / 0.5386 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001669/0.3644, allocations: 1.117 MB / 0.5397 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005107/0.365, allocations: 286.8 kB / 0.54 GB, free: 264 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003359/0.3653, allocations: 293.7 kB / 0.5403 GB, free: 80 kB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3653, allocations: 0 / 0.5403 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.3678, allocations: 0.854 MB / 0.5411 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.002804/0.3706, allocations: 1.811 MB / 0.5429 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Templates: time 0.01579/0.3864, allocations: 8.115 MB / 0.5508 GB, free: 8.203 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)