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.001376/0.001376, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001435/0.001435, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.49/1.49, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.182/0.182, allocations: 29.43 MB / 290.1 MB, free: 3.293 MB / 270.1 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.664e-06/1.664e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.443e-05, allocations: 6.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008804/0.008838, allocations: 6.036 MB / 436.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.01216, allocations: 1.394 MB / 438.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.01283, allocations: 31.69 kB / 438.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.01363, allocations: 158.7 kB / 438.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.01498, allocations: 445.4 kB / 438.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.01574, allocations: 211.5 kB / 439 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.01752, allocations: 1.137 MB / 440.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.01799, allocations: 213.2 kB / 440.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.01937, allocations: 0.6465 MB / 441 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.02054, allocations: 0.5182 MB / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.02072, allocations: 64 kB / 441.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.02097, allocations: 68 kB / 441.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.02141, allocations: 343.1 kB / 441.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.02192, allocations: 259.4 kB / 442.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.02312, allocations: 0.888 MB / 443.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02312, allocations: 0 / 443.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02312, allocations: 0 / 443.1 MB, free: 5.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.815e-05/0.02316, allocations: 0 / 443.1 MB, free: 5.512 MB / 366.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.002505/0.02567, allocations: 0.9621 MB / 444.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.02571, allocations: 8.031 kB / 444.1 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.0259, allocations: 84.47 kB / 444.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.02719, allocations: 0.5148 MB / 444.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.02752, allocations: 224.1 kB / 444.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.02766, allocations: 64.33 kB / 444.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.02925, allocations: 0.7849 MB / 445.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.02927, allocations: 0 / 445.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.02934, allocations: 23.94 kB / 445.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.02947, allocations: 40.91 kB / 445.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.03099, allocations: 0.6908 MB / 446.5 MB, free: 1.996 MB / 366.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.1946/0.2256, allocations: 2.389 MB / 448.9 MB, free: 29.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.2277, allocations: 0.7071 MB / 449.6 MB, free: 29.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.2284, allocations: 316.9 kB / 449.9 MB, free: 29.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.2284, allocations: 8.562 kB / 449.9 MB, free: 29.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2284, allocations: 38.38 kB / 449.9 MB, free: 29.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.2284, allocations: 0 / 449.9 MB, free: 29.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.004871/0.2333, allocations: 1.639 MB / 451.6 MB, free: 28.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2334, allocations: 83.19 kB / 451.6 MB, free: 28.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.2339, allocations: 388.6 kB / 452 MB, free: 28.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.234, allocations: 31.02 kB / 452.1 MB, free: 28.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.2342, allocations: 334.4 kB / 452.4 MB, free: 28.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2343, allocations: 143.4 kB / 452.5 MB, free: 27.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.2345, allocations: 80.36 kB / 452.6 MB, free: 27.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2346, allocations: 361.5 kB / 453 MB, free: 27.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.2351, allocations: 234.9 kB / 453.2 MB, free: 27.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.2357, allocations: 358.6 kB / 453.5 MB, free: 27.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2367, allocations: 0.5792 MB / 454.1 MB, free: 26.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.2367, allocations: 1.719 kB / 454.1 MB, free: 26.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0015/0.2382, allocations: 0.7018 MB / 454.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2382, allocations: 9.016 kB / 454.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2382, allocations: 7.125 kB / 454.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.2386, allocations: 80.47 kB / 454.9 MB, free: 26.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.2402, allocations: 288.5 kB / 455.2 MB, free: 26.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.2456, allocations: 5.996 MB / 461.2 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.2461, allocations: 38.14 kB / 461.2 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.2462, allocations: 17.67 kB / 461.2 MB, free: 21.3 MB / 366.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.0003698/0.2465, allocations: 243.7 kB / 461.5 MB, free: 21.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2467, allocations: 48.42 kB / 461.5 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.2481, allocations: 0.6526 MB / 462.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2481, allocations: 4.922 kB / 462.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2481, allocations: 1.281 kB / 462.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.2482, allocations: 2.156 kB / 462.2 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.251, allocations: 1.252 MB / 463.4 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.251, allocations: 6.828 kB / 463.4 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/0.2528, allocations: 302.7 kB / 463.7 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002898/0.2531, allocations: 88.7 kB / 463.8 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.2532, allocations: 13.98 kB / 463.8 MB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.2551, allocations: 2.898 MB / 466.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2551, allocations: 2.5 kB / 466.7 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.2573, allocations: 1.038 MB / 467.8 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.2574, allocations: 43.59 kB / 467.8 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.2575, allocations: 12.69 kB / 467.8 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.2579, allocations: 34.61 kB / 467.9 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.258, allocations: 41.16 kB / 467.9 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.2581, allocations: 13.48 kB / 467.9 MB, free: 16.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.2584, allocations: 265 kB / 468.2 MB, free: 16.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2584, allocations: 4 kB / 468.2 MB, free: 16.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008174/0.2592, allocations: 140.3 kB / 468.3 MB, free: 16.83 MB / 366.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.0001691/0.2594, allocations: 103.7 kB / 468.4 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.2624, allocations: 0.979 MB / 469.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2624, allocations: 0 / 469.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.2645, allocations: 0.7106 MB / 470.1 MB, free: 16.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.2655, allocations: 122.7 kB / 470.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.2681, allocations: 1.32 MB / 471.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.2686, allocations: 351 kB / 471.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.269, allocations: 95.11 kB / 472 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.2691, allocations: 40.8 kB / 472 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2691, allocations: 1.5 kB / 472 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01483/0.2839, allocations: 7.219 MB / 479.3 MB, free: 12.06 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.036643095314503] Failed to read output from testmodel.py, exit status != 0: 0.29371319711208344 0.303881243 0.277388481 Calling exit ...