Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.0008437/0.0008437, allocations: 79.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.0009088/0.0009088, 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.9222/0.9222, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2356/0.2356, 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.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.612e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004794/0.00482, allocations: 4.747 MB / 435 MB, free: 8.824 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.006389, allocations: 1.246 MB / 436.2 MB, free: 7.574 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.006606, allocations: 23.75 kB / 436.2 MB, free: 7.551 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.006991, allocations: 115.1 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.007531, allocations: 346.1 kB / 436.7 MB, free: 7.098 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.00791, allocations: 159.6 kB / 436.8 MB, free: 6.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.008401, allocations: 0.7007 MB / 437.5 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.00859, allocations: 96.61 kB / 437.6 MB, free: 6.141 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.009003, allocations: 406.8 kB / 438 MB, free: 5.742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.009417, allocations: 423 kB / 438.4 MB, free: 5.328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.009474, allocations: 44 kB / 438.5 MB, free: 5.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.009537, allocations: 51.94 kB / 438.5 MB, free: 5.234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.009696, allocations: 247.3 kB / 438.8 MB, free: 4.992 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.009843, allocations: 203.5 kB / 439 MB, free: 4.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.01029, allocations: 0.6037 MB / 439.6 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.01029, allocations: 4 kB / 439.6 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01029, allocations: 0 / 439.6 MB, free: 4.184 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.0103, allocations: 0 / 439.6 MB, free: 4.184 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001489/0.01179, allocations: 0.8916 MB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.01183, allocations: 19.98 kB / 440.5 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.252e-05/0.01189, allocations: 70.72 kB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.01197, allocations: 52.61 kB / 440.6 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007144/0.01268, allocations: 0.5416 MB / 441.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.0127, allocations: 36.77 kB / 441.2 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.01276, allocations: 43.95 kB / 441.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005171/0.01328, allocations: 0.5441 MB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01329, allocations: 7.938 kB / 441.8 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.01332, allocations: 12 kB / 441.8 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.0135, allocations: 88.52 kB / 441.9 MB, free: 1.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.01387, allocations: 354.3 kB / 442.2 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1783/0.1921, allocations: 1.923 MB / 444.2 MB, free: 53.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.1927, allocations: 369.1 kB / 444.5 MB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.193, allocations: 318.7 kB / 444.8 MB, free: 53.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1931, allocations: 2.938 kB / 444.8 MB, free: 53.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.1931, allocations: 43.75 kB / 444.9 MB, free: 53.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.1931, allocations: 0 / 444.9 MB, free: 53.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002486/0.1956, allocations: 1.954 MB / 446.8 MB, free: 52.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1956, allocations: 83.48 kB / 446.9 MB, free: 52.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1959, allocations: 386.6 kB / 447.3 MB, free: 52.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1959, allocations: 29.7 kB / 447.3 MB, free: 52.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.196, allocations: 250.8 kB / 447.6 MB, free: 52.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.196, allocations: 143 kB / 447.7 MB, free: 52.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.1961, allocations: 97.08 kB / 447.8 MB, free: 52.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.1962, allocations: 360.8 kB / 448.1 MB, free: 51.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1964, allocations: 247 kB / 448.4 MB, free: 51.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1966, allocations: 371 kB / 448.7 MB, free: 51.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.1971, allocations: 0.6197 MB / 449.4 MB, free: 51.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1971, allocations: 0 / 449.4 MB, free: 51.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009287/0.198, allocations: 1.022 MB / 450.4 MB, free: 51.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.198, allocations: 8.344 kB / 450.4 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.198, allocations: 3.688 kB / 450.4 MB, free: 51.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/0.1986, allocations: 409.1 kB / 450.8 MB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1987, allocations: 82.95 kB / 450.9 MB, free: 51.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.2013, allocations: 4.899 MB / 455.8 MB, free: 47.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2015, allocations: 41.78 kB / 455.8 MB, free: 47.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2015, allocations: 20.47 kB / 455.8 MB, free: 47.66 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 (48): * Single equations (assignments): 46 * 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): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.2016, allocations: 205.1 kB / 456 MB, free: 47.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2017, allocations: 43.06 kB / 456.1 MB, free: 47.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007551/0.2024, allocations: 0.8306 MB / 456.9 MB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2024, allocations: 4.5 kB / 456.9 MB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2025, allocations: 5.891 kB / 456.9 MB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2025, allocations: 12.83 kB / 456.9 MB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2036, allocations: 1.328 MB / 458.3 MB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2036, allocations: 0 / 458.3 MB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/0.2037, allocations: 46.22 kB / 458.3 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/0.2042, allocations: 446.8 kB / 458.7 MB, free: 46.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2043, allocations: 34.73 kB / 458.8 MB, free: 46.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.2065, allocations: 6.279 MB / 465.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2065, allocations: 320 / 465.1 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.2074, allocations: 1.118 MB / 466.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.2075, allocations: 36.97 kB / 466.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.2075, allocations: 31.56 kB / 466.2 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2076, allocations: 34.31 kB / 466.3 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.2077, allocations: 42.98 kB / 466.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.2077, allocations: 13.61 kB / 466.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.2079, allocations: 267.2 kB / 466.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2079, allocations: 0 / 466.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003975/0.2083, allocations: 156.4 kB / 466.7 MB, free: 40.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.2094, allocations: 1.687 MB / 468.4 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009582/0.2103, allocations: 0.8762 MB / 469.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2103, allocations: 1.859 kB / 469.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.211, allocations: 0.8504 MB / 470.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.2115, allocations: 117.5 kB / 470.3 MB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.2162, allocations: 6.019 MB / 476.3 MB, free: 35.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2164, allocations: 275.1 kB / 476.6 MB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.2165, allocations: 72.89 kB / 476.6 MB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.2167, allocations: 158.1 kB / 476.8 MB, free: 35.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2167, allocations: 3.156 kB / 476.8 MB, free: 35.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.2487, allocations: 13.84 MB / 490.6 MB, free: 33.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.616, allocations: 4.906 kB / 490.6 MB, free: 33.33 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.019750084728003] Failed to read output from testmodel.py, exit status != 0: 7.703280234709382 7.714009991 7.701910424 Calling exit ...