Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0008854/0.0008854, allocations: 83.69 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.0009089/0.0009089, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8872/0.8872, allocations: 177.2 MB / 204.3 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.2252/0.2252, allocations: 29.4 MB / 290.1 MB, free: 2.434 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.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.807e-05, allocations: 8.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004601/0.004619, allocations: 4.448 MB / 434.7 MB, free: 9.109 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.006551, allocations: 1.273 MB / 435.9 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.006758, allocations: 19.88 kB / 436 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.007557, allocations: 388.7 kB / 436.3 MB, free: 7.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005882/0.008145, allocations: 266.4 kB / 436.6 MB, free: 7.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.008522, allocations: 171.5 kB / 436.8 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000446/0.008968, allocations: 0.5761 MB / 437.3 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.009316, allocations: 229.5 kB / 437.6 MB, free: 6.199 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.009739, allocations: 347 kB / 437.9 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.01008, allocations: 271.2 kB / 438.2 MB, free: 5.594 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.01012, allocations: 32 kB / 438.2 MB, free: 5.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.01034, allocations: 127.7 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.01048, allocations: 207.5 kB / 438.5 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.01059, allocations: 147.6 kB / 438.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.01105, allocations: 0.5179 MB / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01106, allocations: 0 / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01106, allocations: 0 / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.01107, allocations: 0 / 439.2 MB, free: 4.57 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008177/0.01188, allocations: 0.6388 MB / 439.8 MB, free: 3.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.01192, allocations: 15.98 kB / 439.8 MB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.01198, allocations: 74.7 kB / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.01234, allocations: 88.61 kB / 440 MB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.01281, allocations: 340 kB / 440.3 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.01283, allocations: 25.38 kB / 440.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/0.01293, allocations: 52.66 kB / 440.4 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.01341, allocations: 476.8 kB / 440.9 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01342, allocations: 7.953 kB / 440.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.01345, allocations: 16 kB / 440.9 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.01351, allocations: 28.92 kB / 440.9 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.01388, allocations: 351.7 kB / 441.3 MB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.01533, allocations: 1.479 MB / 442.7 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.01557, allocations: 137.2 kB / 442.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.01568, allocations: 113.6 kB / 443 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.0157, allocations: 4 kB / 443 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.01572, allocations: 30.84 kB / 443 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.01572, allocations: 0 / 443 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.1693/0.185, allocations: 0.7503 MB / 443.8 MB, free: 54.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.1851, allocations: 81.77 kB / 443.9 MB, free: 54.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1853, allocations: 319 kB / 444.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1854, allocations: 28.58 kB / 444.2 MB, free: 54.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.1855, allocations: 254.9 kB / 444.4 MB, free: 54.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1855, allocations: 68.06 kB / 444.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.1855, allocations: 62.72 kB / 444.6 MB, free: 54.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.1856, allocations: 339.4 kB / 444.9 MB, free: 53.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1857, allocations: 100.4 kB / 445 MB, free: 53.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1858, allocations: 199.7 kB / 445.2 MB, free: 53.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.1861, allocations: 331.7 kB / 445.5 MB, free: 53.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1861, allocations: 1.969 kB / 445.5 MB, free: 53.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005659/0.1866, allocations: 464.5 kB / 446 MB, free: 53.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1867, allocations: 6.281 kB / 446 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003347/0.187, allocations: 317.2 kB / 446.3 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.1873, allocations: 131.8 kB / 446.4 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1874, allocations: 57.91 kB / 446.5 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.1891, allocations: 2.323 MB / 448.8 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1893, allocations: 10.38 kB / 448.8 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1893, allocations: 22.33 kB / 448.8 MB, free: 51.42 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): 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.0001846/0.1895, allocations: 185.4 kB / 449 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.1895, allocations: 30.34 kB / 449 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.1898, allocations: 265.3 kB / 449.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1898, allocations: 3.219 kB / 449.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1898, allocations: 4.656 kB / 449.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1898, allocations: 0 / 449.3 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007841/0.1906, allocations: 0.689 MB / 450 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1906, allocations: 0 / 450 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1907, allocations: 38.72 kB / 450 MB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.1908, allocations: 35.8 kB / 450.1 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1908, allocations: 10.42 kB / 450.1 MB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1908, allocations: 10.12 kB / 450.1 MB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1908, allocations: 3.969 kB / 450.1 MB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1911, allocations: 445.1 kB / 450.5 MB, free: 50.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.1912, allocations: 22.34 kB / 450.6 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1912, allocations: 14.58 kB / 450.6 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.1913, allocations: 9.938 kB / 450.6 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.1913, allocations: 14.28 kB / 450.6 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1913, allocations: 9.922 kB / 450.6 MB, free: 50.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1914, allocations: 222.8 kB / 450.8 MB, free: 50.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1914, allocations: 0 / 450.8 MB, free: 50.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.1917, allocations: 86.47 kB / 450.9 MB, free: 50.27 MB / 410.7 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004458/0.1922, allocations: 0.9722 MB / 451.9 MB, free: 49.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.1927, allocations: 408 kB / 452.3 MB, free: 49.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1927, allocations: 0 / 452.3 MB, free: 49.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1928, allocations: 95.03 kB / 452.4 MB, free: 49.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1932, allocations: 69.2 kB / 452.4 MB, free: 49.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.1958, allocations: 3.482 MB / 455.9 MB, free: 47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.196, allocations: 242.3 kB / 456.2 MB, free: 46.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1961, allocations: 59.19 kB / 456.2 MB, free: 46.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1962, allocations: 127.6 kB / 456.3 MB, free: 46.8 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1962, allocations: 3.125 kB / 456.3 MB, free: 46.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2193, allocations: 8.061 MB / 464.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.152, allocations: 8.75 kB / 464.4 MB, free: 45.38 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.98581596184522] Failed to read output from testmodel.py, exit status != 0: 8.245522778481245 8.252470211 8.239804099 Calling exit ...