Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.0007893/0.0007893, 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.00122/0.00122, allocations: 174 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.9028/0.9028, allocations: 177.1 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.2168/0.2168, allocations: 29.41 MB / 290.1 MB, free: 2.438 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.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.247e-05, allocations: 6.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004443/0.004465, allocations: 4.311 MB / 434.5 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.006414, allocations: 1.398 MB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.006675, allocations: 19.81 kB / 435.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.007469, allocations: 365.5 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.008074, allocations: 266.5 kB / 436.5 MB, free: 7.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007037/0.008778, allocations: 255.2 kB / 436.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006715/0.00945, allocations: 0.5728 MB / 437.4 MB, free: 6.414 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.009803, allocations: 221.5 kB / 437.6 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.01019, allocations: 350.9 kB / 437.9 MB, free: 5.852 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.01054, allocations: 335.2 kB / 438.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.01059, allocations: 47.98 kB / 438.3 MB, free: 5.477 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.01093, allocations: 231.5 kB / 438.5 MB, free: 5.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.0111, allocations: 251.4 kB / 438.8 MB, free: 5.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.01124, allocations: 179.6 kB / 438.9 MB, free: 4.828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.01184, allocations: 0.7049 MB / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01184, allocations: 7.938 kB / 439.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.01184, allocations: 0 / 439.7 MB, free: 4.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.01185, allocations: 0 / 439.7 MB, free: 4.113 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001094/0.01295, allocations: 0.7056 MB / 440.4 MB, free: 3.375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01299, allocations: 15.98 kB / 440.4 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.102e-05/0.01306, allocations: 86.69 kB / 440.5 MB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.01351, allocations: 120.5 kB / 440.6 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.01399, allocations: 363.9 kB / 440.9 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.01401, allocations: 25.31 kB / 441 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.01411, allocations: 52.5 kB / 441 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.01477, allocations: 0.6805 MB / 441.7 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01479, allocations: 4 kB / 441.7 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.01482, allocations: 20 kB / 441.7 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.01492, allocations: 52.95 kB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006705/0.01559, allocations: 0.6596 MB / 442.4 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.162/0.1776, allocations: 2.378 MB / 444.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.178, allocations: 306 kB / 445.1 MB, free: 53.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1782, allocations: 206.4 kB / 445.3 MB, free: 53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1782, allocations: 4.469 kB / 445.3 MB, free: 53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.1782, allocations: 40.12 kB / 445.3 MB, free: 52.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.485e-06/0.1782, allocations: 0 / 445.3 MB, free: 52.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.00139/0.1796, allocations: 1.286 MB / 446.6 MB, free: 52.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1796, allocations: 84.02 kB / 446.7 MB, free: 52.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1798, allocations: 321.7 kB / 447 MB, free: 52.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1799, allocations: 30.2 kB / 447.1 MB, free: 52.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.18, allocations: 267 kB / 447.3 MB, free: 52.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.18, allocations: 150.6 kB / 447.5 MB, free: 51.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.1801, allocations: 97.23 kB / 447.6 MB, free: 51.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.1802, allocations: 349.8 kB / 447.9 MB, free: 51.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1804, allocations: 201 kB / 448.1 MB, free: 51.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.1806, allocations: 362.8 kB / 448.5 MB, free: 51.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.181, allocations: 0.6041 MB / 449.1 MB, free: 50.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.181, allocations: 2.625 kB / 449.1 MB, free: 50.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005134/0.1815, allocations: 0.6291 MB / 449.7 MB, free: 50.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1815, allocations: 6.594 kB / 449.7 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1816, allocations: 6.594 kB / 449.7 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1816, allocations: 13.22 kB / 449.7 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.1818, allocations: 113.8 kB / 449.8 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1818, allocations: 18.34 kB / 449.8 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1819, allocations: 21.03 kB / 449.9 MB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.182, allocations: 26.58 kB / 449.9 MB, free: 50.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.1821, allocations: 211.1 kB / 450.1 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.1822, allocations: 46.91 kB / 450.1 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.1826, allocations: 490.3 kB / 450.6 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.1826, allocations: 13.34 kB / 450.6 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1826, allocations: 1.5 kB / 450.6 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1826, allocations: 10.58 kB / 450.6 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.1835, allocations: 1.047 MB / 451.7 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1835, allocations: 2.75 kB / 451.7 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.1837, allocations: 69.34 kB / 451.8 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1837, allocations: 7.125 kB / 451.8 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1837, allocations: 7.219 kB / 451.8 MB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1837, allocations: 7.031 kB / 451.8 MB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1837, allocations: 0 / 451.8 MB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.1843, allocations: 0.8181 MB / 452.6 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.1843, allocations: 36.7 kB / 452.6 MB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1843, allocations: 13.75 kB / 452.7 MB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.1844, allocations: 13.81 kB / 452.7 MB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1845, allocations: 27.23 kB / 452.7 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1845, allocations: 15.83 kB / 452.7 MB, free: 49.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1846, allocations: 214.8 kB / 452.9 MB, free: 49.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1846, allocations: 2.906 kB / 452.9 MB, free: 49.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.1849, allocations: 109.5 kB / 453 MB, free: 49.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0007297/0.1856, allocations: 1.401 MB / 454.4 MB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.186, allocations: 480.5 kB / 454.9 MB, free: 48.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.186, allocations: 0 / 454.9 MB, free: 48.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1861, allocations: 196.8 kB / 455.1 MB, free: 48.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1865, allocations: 72.44 kB / 455.2 MB, free: 48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.1892, allocations: 4.32 MB / 459.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.1893, allocations: 263.4 kB / 459.7 MB, free: 45.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.1895, allocations: 129.6 kB / 459.9 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1896, allocations: 143.1 kB / 460 MB, free: 45.2 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1896, allocations: 0 / 460 MB, free: 45.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.2114, allocations: 8.753 MB / 468.8 MB, free: 43.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.257, allocations: 3.938 kB / 468.8 MB, free: 43.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.187645654194057] Failed to read output from testmodel.py, exit status != 0: 7.34207259863615 7.35048836 7.33672748 Calling exit ...