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.001428/0.001428, allocations: 107.2 kB / 17.74 MB, free: 5.359 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.0016/0.0016, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1765/0.1765, allocations: 38.03 MB / 330.6 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 458.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 58.05 MB / 0.5048 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.00624/0.3229, allocations: 6.339 MB / 0.511 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3252, allocations: 1.445 MB / 0.5124 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.3256, allocations: 23.28 kB / 0.5124 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.3261, allocations: 151.5 kB / 0.5126 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.3269, allocations: 427.2 kB / 0.513 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.3274, allocations: 210.1 kB / 0.5132 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.3285, allocations: 1.12 MB / 0.5143 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.329, allocations: 364.8 kB / 0.5146 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.3296, allocations: 478.8 kB / 0.5151 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007677/0.3304, allocations: 0.5358 MB / 0.5156 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3305, allocations: 66 kB / 0.5156 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.3306, allocations: 69.06 kB / 0.5157 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.331, allocations: 317.6 kB / 0.516 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.3313, allocations: 372.7 kB / 0.5164 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009358/0.3323, allocations: 0.8711 MB / 0.5172 GB, free: 208 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3323, allocations: 0 / 0.5172 GB, free: 208 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3323, allocations: 0 / 0.5172 GB, free: 208 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3323, allocations: 0 / 0.5172 GB, free: 208 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.002146/0.3345, allocations: 1.023 MB / 0.5182 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3345, allocations: 9.844 kB / 0.5182 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.3347, allocations: 73.5 kB / 0.5183 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3357, allocations: 0.5964 MB / 0.5189 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.3359, allocations: 118 kB / 0.519 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.336, allocations: 53.61 kB / 0.519 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.3374, allocations: 0.7852 MB / 0.5198 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3375, allocations: 0.7812 kB / 0.5198 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.3375, allocations: 29.3 kB / 0.5198 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.3377, allocations: 35.89 kB / 0.5199 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.3393, allocations: 0.6927 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.004435/0.3437, allocations: 2.694 MB / 0.5232 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.3455, allocations: 0.8742 MB / 0.524 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.3461, allocations: 327.3 kB / 0.5243 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.3461, allocations: 4.188 kB / 0.5244 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.3462, allocations: 42.16 kB / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.394e-06/0.3462, allocations: 0 / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.003981/0.3502, allocations: 1.937 MB / 0.5263 GB, free: 11.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3502, allocations: 80.95 kB / 0.5264 GB, free: 10.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.3507, allocations: 424.3 kB / 0.5268 GB, free: 10.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.3508, allocations: 34.7 kB / 0.5268 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.351, allocations: 322.6 kB / 0.5271 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3511, allocations: 139.3 kB / 0.5272 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3513, allocations: 85.16 kB / 0.5273 GB, free: 10.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3514, allocations: 363.1 kB / 0.5277 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.352, allocations: 234.8 kB / 0.5279 GB, free: 9.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.3526, allocations: 351.2 kB / 0.5282 GB, free: 9.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3536, allocations: 0.5718 MB / 0.5288 GB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3536, allocations: 1.125 kB / 0.5288 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001463/0.3551, allocations: 0.7938 MB / 0.5296 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3551, allocations: 6.375 kB / 0.5296 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3551, allocations: 3.125 kB / 0.5296 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.3554, allocations: 73.19 kB / 0.5296 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.3569, allocations: 293.1 kB / 0.5299 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.3629, allocations: 6.502 MB / 0.5363 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.3634, allocations: 38.31 kB / 0.5363 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.3635, allocations: 17.88 kB / 0.5363 GB, free: 2.645 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.0003972/0.3639, allocations: 245.5 kB / 0.5366 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.364, allocations: 49.84 kB / 0.5366 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3655, allocations: 0.7303 MB / 0.5373 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3655, allocations: 3.938 kB / 0.5373 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3655, allocations: 1.062 kB / 0.5373 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3656, allocations: 129.8 kB / 0.5374 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.862e-05/0.3657, allocations: 8.281 kB / 0.5375 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.366, allocations: 35.77 kB / 0.5375 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3662, allocations: 36.86 kB / 0.5375 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002971/0.3691, allocations: 1.076 MB / 0.5386 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00173/0.3709, allocations: 1.119 MB / 0.5397 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005147/0.3714, allocations: 282.7 kB / 0.5399 GB, free: 288 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.3718, allocations: 294.2 kB / 0.5402 GB, free: 104 kB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3718, allocations: 0 / 0.5402 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.3745, allocations: 0.8464 MB / 0.541 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 0.002763/0.3773, allocations: 1.813 MB / 0.5428 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Templates: time 0.01482/0.3921, allocations: 8.123 MB / 0.5507 GB, free: 8.277 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)