Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001433/0.001433, allocations: 84.3 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.001574/0.001574, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.46/1.46, allocations: 177.2 MB / 204.3 MB, free: 9.168 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.1757/0.1757, allocations: 29.43 MB / 290.1 MB, free: 3.27 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.638e-05, allocations: 2.281 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007042/0.007068, allocations: 4.584 MB / 435.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.00985, allocations: 1.277 MB / 436.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.01026, allocations: 15.88 kB / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.01185, allocations: 414 kB / 437 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007808/0.01263, allocations: 238.6 kB / 437.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.01329, allocations: 191.4 kB / 437.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.01419, allocations: 0.5604 MB / 438 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.0148, allocations: 258.2 kB / 438.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.0156, allocations: 350.9 kB / 438.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.01621, allocations: 255.3 kB / 438.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.01631, allocations: 36 kB / 438.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.01671, allocations: 131.7 kB / 439 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.01699, allocations: 191.5 kB / 439.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.0173, allocations: 151.6 kB / 439.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.01819, allocations: 0.5334 MB / 439.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.0182, allocations: 0 / 439.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0182, allocations: 0 / 439.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.01823, allocations: 4 kB / 439.9 MB, free: 8.742 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001597/0.01982, allocations: 0.6427 MB / 440.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.01988, allocations: 11.98 kB / 440.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.02072, allocations: 92.59 kB / 440.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.02174, allocations: 359.8 kB / 441 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.02178, allocations: 21.38 kB / 441 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.02195, allocations: 44.73 kB / 441 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/0.02283, allocations: 484.9 kB / 441.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.02286, allocations: 7.953 kB / 441.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.0229, allocations: 12 kB / 441.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.02303, allocations: 28.98 kB / 441.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.02369, allocations: 339.7 kB / 441.9 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.02624, allocations: 1.409 MB / 443.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.02663, allocations: 181 kB / 443.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.02684, allocations: 106 kB / 443.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.02685, allocations: 0 / 443.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.02689, allocations: 42.45 kB / 443.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.02689, allocations: 0 / 443.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001433/0.02832, allocations: 0.7096 MB / 444.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.02838, allocations: 81.11 kB / 444.4 MB, free: 3.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.02871, allocations: 300.4 kB / 444.7 MB, free: 3.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.02875, allocations: 33.7 kB / 444.7 MB, free: 3.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.02894, allocations: 256.2 kB / 445 MB, free: 3.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/0.02902, allocations: 79.31 kB / 445 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02913, allocations: 61.64 kB / 445.1 MB, free: 3.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.0293, allocations: 346.8 kB / 445.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.02949, allocations: 103.9 kB / 445.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.02975, allocations: 204.5 kB / 445.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.03025, allocations: 323.3 kB / 446.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.03025, allocations: 4 kB / 446.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009056/0.03116, allocations: 425.7 kB / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.03118, allocations: 6.5 kB / 446.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005718/0.03175, allocations: 258.5 kB / 446.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.03211, allocations: 85.16 kB / 446.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.03238, allocations: 63.91 kB / 446.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1994/0.2318, allocations: 1.564 MB / 448.4 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.2321, allocations: 10.27 kB / 448.5 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.2322, allocations: 16.98 kB / 448.5 MB, free: 29.1 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.2324, allocations: 192.7 kB / 448.7 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.2325, allocations: 35.39 kB / 448.7 MB, free: 28.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.233, allocations: 262.5 kB / 449 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.233, allocations: 7.312 kB / 449 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.233, allocations: 3.156 kB / 449 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.233, allocations: 0.75 kB / 449 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.2342, allocations: 0.6355 MB / 449.6 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2342, allocations: 1.438 kB / 449.6 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.2345, allocations: 51 kB / 449.6 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2345, allocations: 2.312 kB / 449.7 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2345, allocations: 11.86 kB / 449.7 MB, free: 28.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.2345, allocations: 6.25 kB / 449.7 MB, free: 28.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2345, allocations: 5.156 kB / 449.7 MB, free: 28.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.2351, allocations: 453.1 kB / 450.1 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.2352, allocations: 34.06 kB / 450.1 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.2353, allocations: 12.86 kB / 450.2 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2354, allocations: 8.578 kB / 450.2 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.2355, allocations: 13.45 kB / 450.2 MB, free: 28.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2355, allocations: 9.844 kB / 450.2 MB, free: 28.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.2357, allocations: 206.9 kB / 450.4 MB, free: 28.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2357, allocations: 3.406 kB / 450.4 MB, free: 28.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.2362, allocations: 84.59 kB / 450.5 MB, free: 28.33 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 (23): * Single equations (assignments): 22 * 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 0.0001244/0.2363, allocations: 103.4 kB / 450.6 MB, free: 28.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007093/0.237, allocations: 364.9 kB / 450.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.237, allocations: 0 / 450.9 MB, free: 28.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.2372, allocations: 100.6 kB / 451 MB, free: 28.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.2378, allocations: 70.95 kB / 451.1 MB, free: 28.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2392, allocations: 0.8361 MB / 451.9 MB, free: 27.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2395, allocations: 243.5 kB / 452.2 MB, free: 27.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.2397, allocations: 74.64 kB / 452.3 MB, free: 27.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.2398, allocations: 28.53 kB / 452.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2398, allocations: 0 / 452.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of Templates: time 0.009093/0.2489, allocations: 3.488 MB / 455.8 MB, free: 27.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.770680330693722] Failed to read output from testmodel.py, exit status != 0: 0.25818340107798576 0.27102547699999996 0.25012567699999994 Calling exit ...