Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.001456/0.001456, allocations: 111 kB / 17.75 MB, free: 5.348 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.001521/0.001522, allocations: 186.5 kB / 18.67 MB, free: 4.43 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.392/1.392, 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-master/package.mo): time 0.1804/0.1804, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 56.05 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3307, allocations: 58.06 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.006885/0.3377, allocations: 6.339 MB / 0.511 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.3399, allocations: 1.441 MB / 0.5124 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.3402, allocations: 21.5 kB / 0.5124 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.3407, allocations: 151.6 kB / 0.5126 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007894/0.3416, allocations: 431.8 kB / 0.513 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.3421, allocations: 206.5 kB / 0.5132 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.3432, allocations: 1.125 MB / 0.5143 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.3436, allocations: 362.6 kB / 0.5146 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006482/0.3443, allocations: 486.2 kB / 0.5151 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007547/0.345, allocations: 0.5278 MB / 0.5156 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3452, allocations: 65.78 kB / 0.5156 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3453, allocations: 69.22 kB / 0.5157 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.3457, allocations: 318.2 kB / 0.516 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.3461, allocations: 371.8 kB / 0.5164 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3471, allocations: 0.8721 MB / 0.5172 GB, free: 208 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3471, allocations: 0 / 0.5172 GB, free: 208 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3471, allocations: 4 kB / 0.5172 GB, free: 204 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.3471, allocations: 0 / 0.5172 GB, free: 204 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.002252/0.3494, allocations: 1.021 MB / 0.5182 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3494, allocations: 9.125 kB / 0.5182 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3496, allocations: 73.88 kB / 0.5183 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.3508, allocations: 0.5953 MB / 0.5189 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.3509, allocations: 123.6 kB / 0.519 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.3511, allocations: 55.62 kB / 0.5191 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3525, allocations: 0.7821 MB / 0.5198 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3525, allocations: 1.062 kB / 0.5198 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.3526, allocations: 30.42 kB / 0.5198 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.3528, allocations: 36.91 kB / 0.5199 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.3541, allocations: 0.6859 MB / 0.5206 GB, free: 14.4 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.004432/0.3586, allocations: 2.694 MB / 0.5232 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3604, allocations: 0.872 MB / 0.524 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.3611, allocations: 331.9 kB / 0.5244 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.3611, allocations: 3.125 kB / 0.5244 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.3612, allocations: 41.72 kB / 0.5244 GB, free: 12.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.765e-06/0.3612, allocations: 3.938 kB / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004133/0.3653, allocations: 1.936 MB / 0.5263 GB, free: 11.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3654, allocations: 85.73 kB / 0.5264 GB, free: 10.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.366, allocations: 423.3 kB / 0.5268 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.3661, allocations: 31.23 kB / 0.5268 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.3663, allocations: 318.9 kB / 0.5271 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3665, allocations: 143.4 kB / 0.5272 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.3666, allocations: 85.59 kB / 0.5273 GB, free: 10.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3668, allocations: 358.8 kB / 0.5277 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.3674, allocations: 235.3 kB / 0.5279 GB, free: 9.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.368, allocations: 350.6 kB / 0.5282 GB, free: 9.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3691, allocations: 0.5754 MB / 0.5288 GB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3691, allocations: 5.125 kB / 0.5288 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001538/0.3707, allocations: 0.7844 MB / 0.5296 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3707, allocations: 6.844 kB / 0.5296 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3707, allocations: 3.406 kB / 0.5296 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.371, allocations: 79.41 kB / 0.5296 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.3726, allocations: 287.8 kB / 0.5299 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00646/0.379, allocations: 6.512 MB / 0.5363 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.3797, allocations: 35.28 kB / 0.5363 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.3798, allocations: 21.89 kB / 0.5363 GB, free: 2.582 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.0006069/0.3804, allocations: 238.5 kB / 0.5366 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.3806, allocations: 49.72 kB / 0.5366 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.3823, allocations: 0.7306 MB / 0.5373 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3823, allocations: 7.922 kB / 0.5373 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3823, allocations: 0.9375 kB / 0.5373 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.3825, allocations: 122.2 kB / 0.5374 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3827, allocations: 8.344 kB / 0.5375 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.383, allocations: 39.23 kB / 0.5375 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3832, allocations: 36.78 kB / 0.5375 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003051/0.3862, allocations: 1.08 MB / 0.5386 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001758/0.388, allocations: 1.107 MB / 0.5397 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00053/0.3885, allocations: 291.2 kB / 0.5399 GB, free: 228 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003922/0.3889, allocations: 293.6 kB / 0.5402 GB, free: 44 kB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.3889, allocations: 0 / 0.5402 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.3917, allocations: 0.8442 MB / 0.541 GB, free: 15.49 MB / 414.1 MB Notification: Performance of SimCode: time 0.002853/0.3946, allocations: 1.812 MB / 0.5428 GB, free: 14.15 MB / 414.1 MB Notification: Performance of Templates: time 0.01718/0.4118, allocations: 8.119 MB / 0.5507 GB, free: 8.305 MB / 414.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)