Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.0008142/0.0008142, 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.0008326/0.0008326, 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.9101/0.9101, 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.2246/0.2246, allocations: 29.41 MB / 290.1 MB, free: 2.449 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.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.831e-05, allocations: 8.047 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005242/0.00526, allocations: 6.188 MB / 436.4 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.007942, allocations: 1.811 MB / 438.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.008305, allocations: 35.69 kB / 438.2 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.009104, allocations: 437.7 kB / 438.7 MB, free: 5.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006085/0.009713, allocations: 433.4 kB / 439.1 MB, free: 4.652 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.01036, allocations: 366.9 kB / 439.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008046/0.01116, allocations: 1.059 MB / 440.5 MB, free: 3.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000467/0.01163, allocations: 424.5 kB / 440.9 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006338/0.01226, allocations: 0.6076 MB / 441.5 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.01283, allocations: 0.5455 MB / 442.1 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.01291, allocations: 68 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.01333, allocations: 267.5 kB / 442.4 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.01362, allocations: 398.9 kB / 442.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.01384, allocations: 291.3 kB / 443.1 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1663/0.1802, allocations: 1.085 MB / 444.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1802, allocations: 0.5625 kB / 444.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1802, allocations: 0 / 444.2 MB, free: 45.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.1802, allocations: 0 / 444.2 MB, free: 45.32 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001562/0.1818, allocations: 1.063 MB / 445.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1818, allocations: 16.05 kB / 445.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.242e-05/0.1819, allocations: 117 kB / 445.4 MB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.1824, allocations: 162.7 kB / 445.5 MB, free: 44.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.1831, allocations: 0.5451 MB / 446.1 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.1831, allocations: 49.34 kB / 446.1 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.1833, allocations: 70.41 kB / 446.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009087/0.1842, allocations: 1.015 MB / 447.2 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1842, allocations: 4.594 kB / 447.2 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.1842, allocations: 26.42 kB / 447.2 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1843, allocations: 73.36 kB / 447.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009034/0.1852, allocations: 0.9753 MB / 448.3 MB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.1879, allocations: 3.047 MB / 451.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.1885, allocations: 0.6263 MB / 451.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.1889, allocations: 389.3 kB / 452.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1889, allocations: 7.312 kB / 452.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1889, allocations: 41.44 kB / 452.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.1889, allocations: 5.016 kB / 452.4 MB, free: 43.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.002227/0.1912, allocations: 2.223 MB / 454.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.1912, allocations: 91.84 kB / 454.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.1915, allocations: 453.1 kB / 455.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1915, allocations: 40.8 kB / 455.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1916, allocations: 364.7 kB / 455.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.1917, allocations: 270 kB / 455.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1918, allocations: 146.6 kB / 455.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.1919, allocations: 378.6 kB / 456.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.1922, allocations: 339.1 kB / 456.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.1925, allocations: 0.517 MB / 457.2 MB, free: 40.47 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.1951, allocations: 2.159 MB / 459.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.1951, allocations: 3.312 kB / 459.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009778/0.1961, allocations: 1.042 MB / 460.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1961, allocations: 6.344 kB / 460.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1961, allocations: 6.281 kB / 460.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.1962, allocations: 41.66 kB / 460.4 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.1966, allocations: 185.5 kB / 460.6 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006599/0.1973, allocations: 1.389 MB / 462 MB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.1975, allocations: 43.02 kB / 462 MB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.1976, allocations: 31.22 kB / 462.1 MB, free: 37.96 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (95): * Single equations (assignments): 92 * Array equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.1979, allocations: 277.9 kB / 462.3 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.1979, allocations: 66.86 kB / 462.4 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.1988, allocations: 0.8991 MB / 463.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.1988, allocations: 20.61 kB / 463.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1988, allocations: 0 / 463.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.1988, allocations: 6.891 kB / 463.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.2006, allocations: 1.839 MB / 465.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2006, allocations: 6.156 kB / 465.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.2009, allocations: 158.4 kB / 465.3 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.339e-05/0.201, allocations: 38.62 kB / 465.4 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.201, allocations: 20.69 kB / 465.4 MB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004863/0.2015, allocations: 1.383 MB / 466.8 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2015, allocations: 13.61 kB / 466.8 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2026, allocations: 1.449 MB / 468.2 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.2026, allocations: 68.5 kB / 468.3 MB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.2027, allocations: 21 kB / 468.3 MB, free: 34.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2028, allocations: 34.23 kB / 468.3 MB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.2029, allocations: 61.59 kB / 468.4 MB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.2029, allocations: 29.62 kB / 468.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.2031, allocations: 298.5 kB / 468.7 MB, free: 34.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2031, allocations: 3.656 kB / 468.7 MB, free: 34.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.2036, allocations: 187.4 kB / 468.9 MB, free: 34.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[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 (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/0.205, allocations: 2.043 MB / 471 MB, free: 32.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009966/0.206, allocations: 0.9079 MB / 471.9 MB, free: 32.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.206, allocations: 1.984 kB / 471.9 MB, free: 32.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.2064, allocations: 0.4892 MB / 472.3 MB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2069, allocations: 141.9 kB / 472.5 MB, free: 32.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/0.2124, allocations: 6.777 MB / 479.3 MB, free: 28.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2127, allocations: 418.6 kB / 479.7 MB, free: 28.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004147/0.2131, allocations: 206.3 kB / 479.9 MB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.2134, allocations: 279 kB / 480.1 MB, free: 28.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/0.2134, allocations: 0 / 480.1 MB, free: 28.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.2538, allocations: 15.76 MB / 495.9 MB, free: 26.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.329, allocations: 12.08 kB / 495.9 MB, free: 26.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.26111628767103] Failed to read output from testmodel.py, exit status != 0: 7.418622980825603 7.427355899 7.245719087 Calling exit ...