Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001708/0.001708, allocations: 84.38 kB / 20.68 MB, free: 1.039 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.001494/0.001494, allocations: 164.7 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.466/1.466, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.1797/0.1797, allocations: 29.43 MB / 290.1 MB, free: 3.305 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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.165e-05, allocations: 6.219 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006533/0.006565, allocations: 4.474 MB / 435.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.00902, allocations: 1.262 MB / 436.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.0092, allocations: 23.81 kB / 436.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01049, allocations: 394.3 kB / 436.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.01107, allocations: 258.4 kB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.01156, allocations: 171.4 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.01224, allocations: 0.58 MB / 437.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.01264, allocations: 225.5 kB / 438.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.01317, allocations: 354.9 kB / 438.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.01363, allocations: 259.2 kB / 438.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.01368, allocations: 32 kB / 438.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.014, allocations: 131.7 kB / 438.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.01422, allocations: 199.5 kB / 439 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.01444, allocations: 143.7 kB / 439.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.01513, allocations: 0.514 MB / 439.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.01513, allocations: 0 / 439.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01513, allocations: 0 / 439.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.01514, allocations: 4 kB / 439.7 MB, free: 8.93 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001149/0.01629, allocations: 0.6306 MB / 440.3 MB, free: 8.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.01633, allocations: 19.97 kB / 440.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.01695, allocations: 84.61 kB / 440.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.01764, allocations: 351.9 kB / 440.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.01768, allocations: 25.38 kB / 440.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.01782, allocations: 44.73 kB / 440.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.01862, allocations: 476.9 kB / 441.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.01864, allocations: 4 kB / 441.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.01868, allocations: 19.94 kB / 441.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.01879, allocations: 28.98 kB / 441.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.01939, allocations: 331.7 kB / 441.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.02157, allocations: 1.394 MB / 443.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.0219, allocations: 141.1 kB / 443.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.02206, allocations: 97.73 kB / 443.3 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.0221, allocations: 3.984 kB / 443.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.02214, allocations: 34.56 kB / 443.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.02214, allocations: 0 / 443.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001664/0.0238, allocations: 0.7183 MB / 444.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.02387, allocations: 77.11 kB / 444.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.02422, allocations: 296.4 kB / 444.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.02426, allocations: 29.7 kB / 444.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.02446, allocations: 256 kB / 444.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.154e-05/0.02453, allocations: 63.44 kB / 444.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.02463, allocations: 61.97 kB / 444.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.02481, allocations: 338.8 kB / 445.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.02497, allocations: 92.23 kB / 445.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.02522, allocations: 197.4 kB / 445.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.02569, allocations: 312.6 kB / 445.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.0257, allocations: 3.938 kB / 445.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009767/0.02667, allocations: 453.8 kB / 446.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.0267, allocations: 10.66 kB / 446.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006559/0.02735, allocations: 292 kB / 446.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.02786, allocations: 128.9 kB / 446.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.02807, allocations: 51.92 kB / 446.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1867/0.2148, allocations: 2.222 MB / 448.9 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.2151, allocations: 21.84 kB / 448.9 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2151, allocations: 16.17 kB / 448.9 MB, free: 28.72 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.2154, allocations: 186.8 kB / 449.1 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.2154, allocations: 29.88 kB / 449.1 MB, free: 28.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.216, allocations: 247.3 kB / 449.4 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.216, allocations: 2.922 kB / 449.4 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.216, allocations: 1.641 kB / 449.4 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.216, allocations: 1.891 kB / 449.4 MB, free: 28.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.217, allocations: 0.6089 MB / 450 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.217, allocations: 1.438 kB / 450 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2172, allocations: 43.06 kB / 450 MB, free: 28.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.2174, allocations: 29.97 kB / 450.1 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2174, allocations: 7 kB / 450.1 MB, free: 28.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009571/0.2183, allocations: 1.459 MB / 451.5 MB, free: 26.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2183, allocations: 4.109 kB / 451.5 MB, free: 26.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.2188, allocations: 418.3 kB / 452 MB, free: 26.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.2189, allocations: 27.77 kB / 452 MB, free: 26.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.2189, allocations: 8.859 kB / 452 MB, free: 26.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2191, allocations: 6.578 kB / 452 MB, free: 26.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2191, allocations: 24.61 kB / 452 MB, free: 26.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2191, allocations: 8.031 kB / 452 MB, free: 26.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.2193, allocations: 201.6 kB / 452.2 MB, free: 26.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2193, allocations: 0 / 452.2 MB, free: 26.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000486/0.2198, allocations: 87.12 kB / 452.3 MB, free: 26.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001129/0.2199, allocations: 102.9 kB / 452.4 MB, free: 26.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.2206, allocations: 384.1 kB / 452.8 MB, free: 26.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2206, allocations: 1.625 kB / 452.8 MB, free: 26.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.2209, allocations: 234.8 kB / 453 MB, free: 26.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.2214, allocations: 70.52 kB / 453.1 MB, free: 26.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2226, allocations: 0.7812 MB / 453.9 MB, free: 25.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.2228, allocations: 244.8 kB / 454.1 MB, free: 25.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.223, allocations: 58.47 kB / 454.2 MB, free: 25.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.223, allocations: 23.03 kB / 454.2 MB, free: 25.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.223, allocations: 0 / 454.2 MB, free: 25.55 MB / 366.1 MB Notification: Performance of Templates: time 0.009304/0.2324, allocations: 3.795 MB / 458 MB, free: 25.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8886240012943745] Failed to read output from testmodel.py, exit status != 0: 0.24108866602182388 0.252468521 0.23472455 Calling exit ...