Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.0007741/0.0007741, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007525/0.0007525, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8748/0.8748, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2187/0.2187, allocations: 29.41 MB / 290.1 MB, free: 2.445 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.963e-05, allocations: 12.11 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004094/0.004113, allocations: 4.372 MB / 434.6 MB, free: 9.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.006241, allocations: 1.472 MB / 436.1 MB, free: 7.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.006481, allocations: 19.81 kB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.007079, allocations: 286.5 kB / 436.4 MB, free: 7.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.007553, allocations: 270.4 kB / 436.6 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.008079, allocations: 271.2 kB / 436.9 MB, free: 6.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.008642, allocations: 0.6467 MB / 437.5 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.008992, allocations: 256.8 kB / 437.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004302/0.009422, allocations: 390.9 kB / 438.2 MB, free: 5.594 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.009814, allocations: 375.1 kB / 438.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.009861, allocations: 44 kB / 438.6 MB, free: 5.184 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.01009, allocations: 159.7 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.01026, allocations: 259.3 kB / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.0104, allocations: 187.6 kB / 439.2 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.01094, allocations: 0.6854 MB / 439.8 MB, free: 3.902 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.01094, allocations: 7.875 kB / 439.9 MB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01095, allocations: 0 / 439.9 MB, free: 3.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.01095, allocations: 0 / 439.9 MB, free: 3.895 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001173/0.01213, allocations: 0.8147 MB / 440.7 MB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01217, allocations: 11.98 kB / 440.7 MB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.01224, allocations: 86.7 kB / 440.8 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.01265, allocations: 128.5 kB / 440.9 MB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.01325, allocations: 448.8 kB / 441.3 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.01327, allocations: 29.38 kB / 441.4 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.01337, allocations: 52.55 kB / 441.4 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.01399, allocations: 0.688 MB / 442.1 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01401, allocations: 3.938 kB / 442.1 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.01404, allocations: 16 kB / 442.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.0141, allocations: 36.98 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.01465, allocations: 0.5267 MB / 442.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1592/0.1739, allocations: 2.92 MB / 445.6 MB, free: 52.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.1742, allocations: 305.5 kB / 445.9 MB, free: 52.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1744, allocations: 157.9 kB / 446.1 MB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1744, allocations: 13.69 kB / 446.1 MB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.1744, allocations: 36.09 kB / 446.1 MB, free: 52.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.1744, allocations: 0.8438 kB / 446.1 MB, free: 52.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001209/0.1756, allocations: 1.149 MB / 447.3 MB, free: 51.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1756, allocations: 87.95 kB / 447.3 MB, free: 51.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1759, allocations: 400.2 kB / 447.7 MB, free: 51.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1759, allocations: 32.89 kB / 447.8 MB, free: 51.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.176, allocations: 301.2 kB / 448.1 MB, free: 51.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.176, allocations: 122.7 kB / 448.2 MB, free: 51.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.1761, allocations: 102.2 kB / 448.3 MB, free: 50.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.1761, allocations: 353.4 kB / 448.6 MB, free: 50.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1763, allocations: 191.4 kB / 448.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.1765, allocations: 388.2 kB / 449.2 MB, free: 50.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.1769, allocations: 0.6077 MB / 449.8 MB, free: 49.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1769, allocations: 0 / 449.8 MB, free: 49.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009437/0.1778, allocations: 0.8247 MB / 450.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1779, allocations: 8.031 kB / 450.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1779, allocations: 6.375 kB / 450.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.1785, allocations: 273.5 kB / 450.9 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1787, allocations: 130.1 kB / 451 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.181, allocations: 3.819 MB / 454.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1812, allocations: 30.55 kB / 454.9 MB, free: 46.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.1812, allocations: 26.03 kB / 454.9 MB, free: 46.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.1814, allocations: 227.1 kB / 455.1 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1814, allocations: 39.36 kB / 455.2 MB, free: 46.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.1819, allocations: 481.3 kB / 455.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1819, allocations: 3.125 kB / 455.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1819, allocations: 6.094 kB / 455.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1819, allocations: 6.094 kB / 455.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007756/0.1827, allocations: 0.9523 MB / 456.6 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1827, allocations: 3.422 kB / 456.6 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.1829, allocations: 88.5 kB / 456.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1829, allocations: 3.031 kB / 456.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1829, allocations: 8.031 kB / 456.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1829, allocations: 6.797 kB / 456.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1829, allocations: 3.938 kB / 456.7 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.1834, allocations: 0.7406 MB / 457.5 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.1835, allocations: 47.62 kB / 457.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1835, allocations: 10.94 kB / 457.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1836, allocations: 21.41 kB / 457.5 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1837, allocations: 28.03 kB / 457.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1837, allocations: 14.08 kB / 457.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.1838, allocations: 269.1 kB / 457.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1838, allocations: 0 / 457.8 MB, free: 45.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.1842, allocations: 119.1 kB / 457.9 MB, free: 45.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0006091/0.1848, allocations: 1.29 MB / 459.2 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.1855, allocations: 0.7756 MB / 460 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1855, allocations: 448 / 460 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1857, allocations: 195.5 kB / 460.2 MB, free: 43.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1861, allocations: 75.3 kB / 460.3 MB, free: 43.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.1904, allocations: 5.199 MB / 465.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.1906, allocations: 296.7 kB / 465.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.1908, allocations: 134.3 kB / 465.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.1909, allocations: 174.2 kB / 466.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1909, allocations: 0 / 466.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.2138, allocations: 11.52 MB / 477.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.118, allocations: 7.156 kB / 477.6 MB, free: 38.98 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.951091661117971] Failed to read output from testmodel.py, exit status != 0: 8.213460970669985 8.222555282 8.209758172999999 Calling exit ...