Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.0008466/0.0008466, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005119/0.005119, allocations: 159.3 kB / 24.7 MB, free: 9.41 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 0.8854/0.8854, allocations: 177.1 MB / 205 MB, free: 5.727 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.2399/0.2399, allocations: 29.41 MB / 290.8 MB, free: 2.414 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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.829e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004104/0.004133, allocations: 4.117 MB / 435.6 MB, free: 8.934 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.005258, allocations: 0.9196 MB / 436.5 MB, free: 8.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.005421, allocations: 15.88 kB / 436.5 MB, free: 7.996 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.005596, allocations: 51.5 kB / 436.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.006041, allocations: 222.6 kB / 436.8 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.006202, allocations: 99.73 kB / 436.9 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.00661, allocations: 0.4904 MB / 437.4 MB, free: 7.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.0068, allocations: 91.98 kB / 437.5 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.007148, allocations: 291.1 kB / 437.8 MB, free: 6.758 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.007427, allocations: 231.4 kB / 438 MB, free: 6.531 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.007466, allocations: 28 kB / 438 MB, free: 6.504 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.007533, allocations: 28 kB / 438 MB, free: 6.477 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.00764, allocations: 135.6 kB / 438.2 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.007748, allocations: 119.7 kB / 438.3 MB, free: 6.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.008112, allocations: 386.7 kB / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.008115, allocations: 0 / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.008116, allocations: 0 / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.008122, allocations: 0 / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009792/0.009101, allocations: 0.6346 MB / 439.3 MB, free: 5.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.009143, allocations: 11.98 kB / 439.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.009278, allocations: 48.69 kB / 439.4 MB, free: 5.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.009729, allocations: 339.6 kB / 439.7 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.00975, allocations: 20.78 kB / 439.7 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.009791, allocations: 28 kB / 439.7 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.01044, allocations: 373.7 kB / 440.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.01045, allocations: 0 / 440.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.01048, allocations: 8 kB / 440.1 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.01048, allocations: 8 kB / 440.1 MB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.01076, allocations: 253.7 kB / 440.4 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.01189, allocations: 1.303 MB / 441.7 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.0121, allocations: 149 kB / 441.8 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.01219, allocations: 73.73 kB / 441.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.01221, allocations: 4 kB / 441.9 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.01224, allocations: 34.56 kB / 441.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.01224, allocations: 0 / 441.9 MB, free: 2.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000867/0.01311, allocations: 0.6168 MB / 442.5 MB, free: 1.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.01315, allocations: 85.05 kB / 442.6 MB, free: 1.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.01336, allocations: 300.5 kB / 442.9 MB, free: 1.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.01338, allocations: 25.7 kB / 443 MB, free: 1.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01348, allocations: 228 kB / 443.2 MB, free: 1.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.01352, allocations: 55.47 kB / 443.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.01357, allocations: 53.66 kB / 443.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.01367, allocations: 342.8 kB / 443.6 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.01374, allocations: 67.95 kB / 443.7 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01386, allocations: 172.8 kB / 443.8 MB, free: 352 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.01409, allocations: 256.6 kB / 444.1 MB, free: 48 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01409, allocations: 0 / 444.1 MB, free: 48 kB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.1775/0.1916, allocations: 278.6 kB / 444.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.1916, allocations: 6.188 kB / 444.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1916, allocations: 3.844 kB / 444.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.1917, allocations: 9.406 kB / 444.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1919, allocations: 59.61 kB / 444.4 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1919, allocations: 9.188 kB / 444.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.192, allocations: 14.05 kB / 444.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.192, allocations: 10.53 kB / 444.5 MB, free: 54.32 MB / 410.7 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1922, allocations: 174.5 kB / 444.7 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1922, allocations: 30.39 kB / 444.7 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1925, allocations: 230.8 kB / 444.9 MB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1925, allocations: 7.094 kB / 444.9 MB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1925, allocations: 0 / 444.9 MB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1925, allocations: 3.234 kB / 444.9 MB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.1929, allocations: 0.5285 MB / 445.4 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1929, allocations: 3.906 kB / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1931, allocations: 39.55 kB / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1931, allocations: 3.219 kB / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1931, allocations: 3.938 kB / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1931, allocations: 3.188 kB / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1931, allocations: 0 / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.1934, allocations: 429.9 kB / 445.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.1935, allocations: 27.06 kB / 445.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.1935, allocations: 6.109 kB / 446 MB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.1936, allocations: 8.594 kB / 446 MB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1936, allocations: 17.97 kB / 446 MB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1936, allocations: 8.531 kB / 446 MB, free: 53.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1938, allocations: 215.4 kB / 446.2 MB, free: 53.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1938, allocations: 0 / 446.2 MB, free: 53.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.194, allocations: 55.81 kB / 446.3 MB, free: 53.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.428e-05/0.1941, allocations: 104.3 kB / 446.4 MB, free: 53.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1943, allocations: 191.4 kB / 446.5 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1943, allocations: 0 / 446.5 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.568e-05/0.1944, allocations: 85.7 kB / 446.6 MB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1947, allocations: 71.78 kB / 446.7 MB, free: 53.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.1954, allocations: 0.6527 MB / 447.3 MB, free: 53.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1956, allocations: 196.4 kB / 447.5 MB, free: 53.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.1956, allocations: 27.58 kB / 447.6 MB, free: 53.01 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1956, allocations: 0 / 447.6 MB, free: 53.01 MB / 410.7 MB Notification: Performance of Templates: time 0.003991/0.1996, allocations: 4.05 MB / 451.6 MB, free: 52.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.977271203882992] Failed to read output from testmodel.py, exit status != 0: 0.20537113770842552 0.21296392600000003 0.203281914 Calling exit ...