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.001198/0.001198, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001046/0.001046, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9263/0.9263, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.219/0.219, allocations: 29.41 MB / 290.1 MB, free: 2.457 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.934e-06/1.934e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.713e-05, allocations: 8.328 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004684/0.004711, allocations: 4.37 MB / 434.6 MB, free: 9.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.006855, allocations: 1.472 MB / 436.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.007144, allocations: 23.81 kB / 436.1 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.007973, allocations: 278.6 kB / 436.4 MB, free: 7.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.008527, allocations: 274.4 kB / 436.6 MB, free: 7.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.009177, allocations: 275.2 kB / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006808/0.009858, allocations: 0.6466 MB / 437.5 MB, free: 6.223 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.0103, allocations: 252.8 kB / 437.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.01084, allocations: 378.9 kB / 438.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.0113, allocations: 383.1 kB / 438.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.01136, allocations: 40 kB / 438.6 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.01168, allocations: 163.7 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.01189, allocations: 259.3 kB / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.01206, allocations: 191.5 kB / 439.2 MB, free: 4.586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.01276, allocations: 0.6854 MB / 439.9 MB, free: 3.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01276, allocations: 3.938 kB / 439.9 MB, free: 3.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01276, allocations: 0 / 439.9 MB, free: 3.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.01278, 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.001337/0.01411, allocations: 0.8146 MB / 440.7 MB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01415, allocations: 15.98 kB / 440.7 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.478e-05/0.01424, allocations: 90.7 kB / 440.8 MB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.01472, allocations: 124.5 kB / 440.9 MB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.01543, allocations: 448.8 kB / 441.3 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.01545, allocations: 29.38 kB / 441.4 MB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01555, allocations: 44.56 kB / 441.4 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.01621, allocations: 0.6919 MB / 442.1 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.01623, allocations: 3.938 kB / 442.1 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.01627, allocations: 24 kB / 442.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.01633, allocations: 32.98 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.0169, allocations: 0.5267 MB / 442.7 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/0.1959, allocations: 2.924 MB / 445.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1963, allocations: 297.3 kB / 445.9 MB, free: 52.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1964, allocations: 162 kB / 446.1 MB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1965, allocations: 9.188 kB / 446.1 MB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1965, allocations: 41.31 kB / 446.1 MB, free: 52.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.1965, allocations: 3.281 kB / 446.1 MB, free: 52.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001243/0.1977, allocations: 1.143 MB / 447.3 MB, free: 51.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1978, allocations: 87.92 kB / 447.3 MB, free: 51.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.198, allocations: 398.6 kB / 447.7 MB, free: 51.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.198, allocations: 32.83 kB / 447.8 MB, free: 51.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.1981, allocations: 302 kB / 448.1 MB, free: 51.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1982, allocations: 122.8 kB / 448.2 MB, free: 51.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1982, allocations: 105.8 kB / 448.3 MB, free: 51.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.1983, allocations: 352.5 kB / 448.6 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1985, allocations: 189.6 kB / 448.8 MB, free: 50.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.1987, allocations: 382.2 kB / 449.2 MB, free: 50.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.1991, allocations: 0.6065 MB / 449.8 MB, free: 50.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1991, allocations: 4.656 kB / 449.8 MB, free: 50.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009575/0.2001, allocations: 0.828 MB / 450.6 MB, free: 49.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2001, allocations: 6.406 kB / 450.6 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.2001, allocations: 6.75 kB / 450.6 MB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.2007, allocations: 272 kB / 450.9 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.201, allocations: 135.4 kB / 451 MB, free: 49.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.2034, allocations: 3.816 MB / 454.8 MB, free: 46.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2036, allocations: 27.95 kB / 454.9 MB, free: 46.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.2036, allocations: 31.84 kB / 454.9 MB, free: 46.7 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.0001753/0.2038, allocations: 225.5 kB / 455.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.2038, allocations: 37.95 kB / 455.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.2043, allocations: 484 kB / 455.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2043, allocations: 6.5 kB / 455.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2043, allocations: 2.906 kB / 455.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2043, allocations: 3.469 kB / 455.6 MB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008496/0.2051, allocations: 0.9492 MB / 456.6 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2051, allocations: 0 / 456.6 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.2054, allocations: 89.69 kB / 456.7 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2054, allocations: 3.156 kB / 456.7 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2054, allocations: 8.562 kB / 456.7 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2054, allocations: 7.906 kB / 456.7 MB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2054, allocations: 7 kB / 456.7 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.206, allocations: 0.7451 MB / 457.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.206, allocations: 40.91 kB / 457.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.2061, allocations: 10.86 kB / 457.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.2062, allocations: 14.02 kB / 457.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.2062, allocations: 35.86 kB / 457.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2062, allocations: 16.89 kB / 457.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.2064, allocations: 268.2 kB / 457.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2064, allocations: 0 / 457.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.2068, allocations: 118.7 kB / 458 MB, free: 45.25 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.0006631/0.2074, allocations: 1.292 MB / 459.2 MB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008184/0.2082, allocations: 0.771 MB / 460 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2082, allocations: 0 / 460 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2084, allocations: 197.2 kB / 460.2 MB, free: 43.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.2088, allocations: 82.59 kB / 460.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.2135, allocations: 5.188 MB / 465.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.2136, allocations: 296.2 kB / 465.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002129/0.2138, allocations: 136.5 kB / 465.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.214, allocations: 169.9 kB / 466.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.214, allocations: 0 / 466.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.2371, allocations: 11.53 MB / 477.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.444, allocations: 10.19 kB / 477.6 MB, free: 39.07 MB / 410.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.457199296914041] Failed to read output from testmodel.py, exit status != 0: 8.538880125619471 8.550455846 8.535465795 Calling exit ...