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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1199/0.1199, allocations: 29.42 MB / 291.2 MB, free: 2.691 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 316.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.564e-05, allocations: 6.312 kB / 316.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008265/0.008291, allocations: 5.354 MB / 322.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.0118, allocations: 1.468 MB / 323.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.01229, allocations: 35.69 kB / 323.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.0128, allocations: 138.9 kB / 323.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008579/0.01366, allocations: 433.5 kB / 324.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.01417, allocations: 215.5 kB / 324.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.01527, allocations: 1.137 MB / 325.6 MB, free: 240 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.01561, allocations: 231.1 kB / 325.8 MB, free: 4 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.01669, allocations: 0.6975 MB / 326.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.01741, allocations: 462.8 kB / 327 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.01753, allocations: 60 kB / 327 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.01766, allocations: 60 kB / 327.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.01819, allocations: 335.1 kB / 327.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.01843, allocations: 259.5 kB / 327.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.0191, allocations: 0.5645 MB / 328.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.0191, allocations: 4 kB / 328.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01911, allocations: 0 / 328.3 MB, free: 13.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.01912, allocations: 0 / 328.3 MB, free: 13.58 MB / 314.7 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.001306/0.02043, allocations: 0.887 MB / 329.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.02046, allocations: 12.03 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.02059, allocations: 96.86 kB / 329.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.02112, allocations: 443.4 kB / 329.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.02127, allocations: 224.1 kB / 329.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.02133, allocations: 56.31 kB / 330 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.02187, allocations: 0.4915 MB / 330.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.02189, allocations: 0 / 330.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.02192, allocations: 24 kB / 330.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.602e-05/0.022, allocations: 21 kB / 330.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.02227, allocations: 193.6 kB / 330.7 MB, free: 11.02 MB / 314.7 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.002012/0.02429, allocations: 1.822 MB / 332.5 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.0248, allocations: 359.8 kB / 332.8 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.02492, allocations: 105.6 kB / 333 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.02495, allocations: 4 kB / 333 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.02498, allocations: 42.55 kB / 333 MB, free: 8.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 1.964e-06/0.02498, allocations: 0 / 333 MB, free: 8.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.0008552/0.02583, allocations: 413 kB / 333.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.02587, allocations: 85.11 kB / 333.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.0261, allocations: 339.2 kB / 333.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.02612, allocations: 29.7 kB / 333.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.02626, allocations: 281.7 kB / 334.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.02634, allocations: 134.8 kB / 334.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.02676, allocations: 86.11 kB / 334.3 MB, free: 7.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.02686, allocations: 358.8 kB / 334.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.02694, allocations: 55.81 kB / 334.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.02707, allocations: 168.9 kB / 334.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.02731, allocations: 256.7 kB / 335.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.02732, allocations: 3.938 kB / 335.2 MB, free: 6.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003756/0.02769, allocations: 304.6 kB / 335.5 MB, free: 5.961 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.02771, allocations: 4 kB / 335.5 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02772, allocations: 4 kB / 335.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.02791, allocations: 52.5 kB / 335.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.02843, allocations: 219.8 kB / 335.7 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.0312, allocations: 5.178 MB / 340.9 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.03143, allocations: 47.66 kB / 341 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.03146, allocations: 16 kB / 341 MB, free: 64 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 49 * 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.0002527/0.03171, allocations: 144.7 kB / 341.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.03178, allocations: 51.88 kB / 341.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.03244, allocations: 265.2 kB / 341.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.03245, allocations: 7.984 kB / 341.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.03245, allocations: 4 kB / 341.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.03246, allocations: 4 kB / 341.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009484/0.03341, allocations: 0.7452 MB / 342.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.03341, allocations: 0 / 342.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.03397, allocations: 227.7 kB / 342.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/0.03413, allocations: 60.44 kB / 342.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.03416, allocations: 12 kB / 342.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.03578, allocations: 2.632 MB / 345.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.03578, allocations: 0 / 345.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.03632, allocations: 485.9 kB / 345.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.03639, allocations: 43.66 kB / 345.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.03643, allocations: 12.12 kB / 345.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.03655, allocations: 23.97 kB / 345.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.03663, allocations: 31.94 kB / 345.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.03665, allocations: 8 kB / 345.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.03676, allocations: 132.7 kB / 345.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03676, allocations: 0 / 345.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005672/0.03733, allocations: 171.6 kB / 346 MB, free: 10.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 35 * 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.0001689/0.0375, allocations: 100.3 kB / 346.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008722/0.03837, allocations: 0.5689 MB / 346.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.03838, allocations: 4 kB / 346.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.03902, allocations: 493.5 kB / 347.1 MB, free: 9.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.03945, allocations: 141.5 kB / 347.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.04118, allocations: 1.117 MB / 348.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.04165, allocations: 173.7 kB / 348.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.04183, allocations: 52.36 kB / 348.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.04206, allocations: 153.2 kB / 348.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of SimCode: time 1.974e-06/0.04206, allocations: 0 / 348.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of Templates: time 0.01142/0.05348, allocations: 7.772 MB / 356.5 MB, free: 184 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.266210339963436]