Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001177/0.001177, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005161/0.005161, allocations: 160.5 kB / 24.7 MB, free: 9.418 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.8505/0.8505, allocations: 177.1 MB / 205 MB, free: 5.73 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.2156/0.2156, allocations: 29.41 MB / 290.8 MB, free: 2.41 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.213e-05, allocations: 4.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004142/0.004164, allocations: 4.744 MB / 436.2 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.00572, allocations: 1.239 MB / 437.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.005923, allocations: 27.75 kB / 437.5 MB, free: 7.051 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.006256, allocations: 115 kB / 437.6 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.006741, allocations: 346.1 kB / 437.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.007073, allocations: 163.6 kB / 438.1 MB, free: 6.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007483/0.007821, allocations: 0.6967 MB / 438.8 MB, free: 5.738 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.008068, allocations: 104.7 kB / 438.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007287/0.008797, allocations: 406.8 kB / 439.3 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.00935, allocations: 419 kB / 439.7 MB, free: 4.824 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.009459, allocations: 44 kB / 439.7 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.009543, allocations: 48 kB / 439.8 MB, free: 4.734 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.009722, allocations: 251.3 kB / 440 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.009894, allocations: 203.5 kB / 440.2 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.01055, allocations: 0.6076 MB / 440.8 MB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01055, allocations: 0 / 440.8 MB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01055, allocations: 0 / 440.8 MB, free: 3.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.01057, allocations: 0 / 440.8 MB, free: 3.68 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00153/0.0121, allocations: 0.8878 MB / 441.7 MB, free: 2.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01214, allocations: 15.98 kB / 441.7 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.01224, allocations: 52.61 kB / 441.8 MB, free: 2.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.01306, allocations: 0.5416 MB / 442.3 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.01308, allocations: 33.03 kB / 442.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.0133, allocations: 47.89 kB / 442.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.01385, allocations: 0.548 MB / 443 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01386, allocations: 3.938 kB / 443 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.01389, allocations: 12 kB / 443 MB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.01408, allocations: 92.52 kB / 443.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.01446, allocations: 350.3 kB / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1879/0.2024, allocations: 1.871 MB / 445.3 MB, free: 53.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.203, allocations: 376.1 kB / 445.6 MB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.2034, allocations: 324.8 kB / 446 MB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.2034, allocations: 3.188 kB / 446 MB, free: 53.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2034, allocations: 36.34 kB / 446 MB, free: 53.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.616e-06/0.2034, allocations: 0 / 446 MB, free: 53.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002927/0.2064, allocations: 1.945 MB / 447.9 MB, free: 52.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.2064, allocations: 86.83 kB / 448 MB, free: 52.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.2067, allocations: 380.6 kB / 448.4 MB, free: 52.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.2067, allocations: 36.92 kB / 448.4 MB, free: 52.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2068, allocations: 257.3 kB / 448.7 MB, free: 52.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/0.2069, allocations: 138.9 kB / 448.8 MB, free: 52.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.207, allocations: 105.3 kB / 448.9 MB, free: 52.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.207, allocations: 352.2 kB / 449.3 MB, free: 51.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.2073, allocations: 249.3 kB / 449.5 MB, free: 51.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.2075, allocations: 361.8 kB / 449.9 MB, free: 51.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.2079, allocations: 0.6236 MB / 450.5 MB, free: 51.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2079, allocations: 0 / 450.5 MB, free: 51.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009118/0.2089, allocations: 1.017 MB / 451.5 MB, free: 51.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2089, allocations: 6.312 kB / 451.5 MB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2089, allocations: 3.312 kB / 451.5 MB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.2094, allocations: 402.9 kB / 451.9 MB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2096, allocations: 85.73 kB / 452 MB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.2123, allocations: 4.853 MB / 456.9 MB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2125, allocations: 47.25 kB / 456.9 MB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.2125, allocations: 19.81 kB / 456.9 MB, free: 47.64 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.2127, allocations: 206.8 kB / 457.1 MB, free: 47.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2128, allocations: 43.12 kB / 457.2 MB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.2136, allocations: 0.824 MB / 458 MB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2136, allocations: 2.875 kB / 458 MB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2136, allocations: 6.719 kB / 458 MB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2136, allocations: 3.188 kB / 458 MB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2148, allocations: 1.277 MB / 459.3 MB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.2148, allocations: 5.281 kB / 459.3 MB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.2149, allocations: 39.97 kB / 459.3 MB, free: 46.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.2154, allocations: 440.7 kB / 459.7 MB, free: 46.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.2155, allocations: 38.66 kB / 459.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.218, allocations: 6.195 MB / 466 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.218, allocations: 3.938 kB / 466 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.219, allocations: 1.115 MB / 467.1 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.219, allocations: 41.88 kB / 467.1 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.2191, allocations: 35.14 kB / 467.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2192, allocations: 41.44 kB / 467.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.2193, allocations: 34.27 kB / 467.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2193, allocations: 18.88 kB / 467.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.2195, allocations: 254.9 kB / 467.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2195, allocations: 0 / 467.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.2199, allocations: 153.9 kB / 467.7 MB, free: 40.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (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.0001336/0.2201, allocations: 122 kB / 467.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009191/0.221, allocations: 0.8792 MB / 468.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.221, allocations: 0 / 468.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006863/0.2217, allocations: 0.8508 MB / 469.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.2221, allocations: 131.5 kB / 469.6 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2237, allocations: 1.589 MB / 471.2 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.2239, allocations: 276.6 kB / 471.5 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.224, allocations: 34.38 kB / 471.5 MB, free: 38.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.053e-06/0.224, allocations: 3.938 kB / 471.5 MB, free: 38.54 MB / 410.7 MB Notification: Performance of Templates: time 0.01219/0.2362, allocations: 13.84 MB / 485.4 MB, free: 37.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6858784686774015] Failed to read output from testmodel.py, exit status != 0: 0.2415255093947053 0.25002923800000004 0.23768348800000003 Calling exit ...