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.0007901/0.0007901, allocations: 79.7 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.0008269/0.0008269, allocations: 174 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.8679/0.8679, allocations: 177.1 MB / 204.2 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.2182/0.2182, allocations: 29.4 MB / 290.1 MB, free: 2.461 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.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.984e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.005675/0.005695, allocations: 6.181 MB / 436.4 MB, free: 7.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.008149, allocations: 1.819 MB / 438.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.008473, allocations: 35.69 kB / 438.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000859/0.009332, allocations: 444.5 kB / 438.7 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.00996, allocations: 433.4 kB / 439.1 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.01068, allocations: 366.9 kB / 439.5 MB, free: 4.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007602/0.01144, allocations: 1.055 MB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.0119, allocations: 432.4 kB / 440.9 MB, free: 2.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.01251, allocations: 0.6037 MB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.013, allocations: 0.5455 MB / 442.1 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.222e-05/0.01308, allocations: 64 kB / 442.1 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.01345, allocations: 267.5 kB / 442.4 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.01369, allocations: 398.9 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.0139, allocations: 291.3 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1625/0.1764, allocations: 1.084 MB / 444.2 MB, free: 45.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1764, allocations: 0 / 444.2 MB, free: 45.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1764, allocations: 0 / 444.2 MB, free: 45.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.474e-05/0.1764, allocations: 0 / 444.2 MB, free: 45.23 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.001342/0.1777, allocations: 1.064 MB / 445.2 MB, free: 44.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1778, allocations: 13.61 kB / 445.2 MB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.1779, allocations: 122.3 kB / 445.4 MB, free: 44.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.1784, allocations: 162.7 kB / 445.5 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.179, allocations: 0.5455 MB / 446.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.179, allocations: 46.59 kB / 446.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.1791, allocations: 74.92 kB / 446.2 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.1799, allocations: 1.01 MB / 447.2 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.18, allocations: 7.5 kB / 447.2 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.18, allocations: 26.41 kB / 447.2 MB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.1801, allocations: 72.97 kB / 447.3 MB, free: 44.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.181, allocations: 0.9714 MB / 448.3 MB, free: 44.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.1835, allocations: 3.054 MB / 451.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.1841, allocations: 0.6274 MB / 452 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1845, allocations: 380.4 kB / 452.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1845, allocations: 14.02 kB / 452.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.1845, allocations: 37.72 kB / 452.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.1845, allocations: 3.469 kB / 452.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.002187/0.1867, allocations: 2.229 MB / 454.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1867, allocations: 87.36 kB / 454.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.187, allocations: 448.4 kB / 455.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.187, allocations: 37.05 kB / 455.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1871, allocations: 372.1 kB / 455.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.1872, allocations: 264.3 kB / 455.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.1873, allocations: 149.9 kB / 455.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.1874, allocations: 374.9 kB / 456.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1877, allocations: 345.1 kB / 456.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.188, allocations: 0.5181 MB / 457.2 MB, free: 40.38 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.002592/0.1906, allocations: 2.165 MB / 459.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1906, allocations: 3.062 kB / 459.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008932/0.1915, allocations: 1.03 MB / 460.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1915, allocations: 6.375 kB / 460.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1915, allocations: 9.594 kB / 460.4 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.1916, allocations: 41.06 kB / 460.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.192, allocations: 187.1 kB / 460.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005643/0.1926, allocations: 1.392 MB / 462 MB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.1928, allocations: 46.36 kB / 462 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.1928, allocations: 29.38 kB / 462.1 MB, free: 37.88 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.0002389/0.1931, allocations: 273.6 kB / 462.3 MB, free: 37.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.1931, allocations: 67.44 kB / 462.4 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000802/0.1939, allocations: 0.8988 MB / 463.3 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.194, allocations: 17.81 kB / 463.3 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.194, allocations: 0 / 463.3 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.194, allocations: 6.688 kB / 463.3 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.1957, allocations: 1.847 MB / 465.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1957, allocations: 3.094 kB / 465.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.196, allocations: 149.2 kB / 465.3 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.1961, allocations: 40.66 kB / 465.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.1961, allocations: 28.41 kB / 465.4 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004816/0.1966, allocations: 1.389 MB / 466.8 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1966, allocations: 3.281 kB / 466.8 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.1977, allocations: 1.445 MB / 468.2 MB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.1978, allocations: 69.53 kB / 468.3 MB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.1978, allocations: 24.59 kB / 468.3 MB, free: 34.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.198, allocations: 34.27 kB / 468.3 MB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.198, allocations: 62.67 kB / 468.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.1981, allocations: 26.94 kB / 468.4 MB, free: 34.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1982, allocations: 302 kB / 468.7 MB, free: 34.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1982, allocations: 0 / 468.7 MB, free: 34.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004406/0.1987, allocations: 190.6 kB / 468.9 MB, free: 34.11 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.001297/0.2, allocations: 2.038 MB / 470.9 MB, free: 32.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.2008, allocations: 0.9068 MB / 471.9 MB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2008, allocations: 2.656 kB / 471.9 MB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.2012, allocations: 0.4903 MB / 472.3 MB, free: 32.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.2017, allocations: 153.1 kB / 472.5 MB, free: 32.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/0.2068, allocations: 6.768 MB / 479.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2072, allocations: 426.9 kB / 479.7 MB, free: 28.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.2077, allocations: 201.9 kB / 479.9 MB, free: 28.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.208, allocations: 273.4 kB / 480.1 MB, free: 28.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.208, allocations: 0 / 480.1 MB, free: 28.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.2423, allocations: 15.75 MB / 495.9 MB, free: 26.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.502, allocations: 23.27 kB / 495.9 MB, free: 26.16 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 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.315474649891257] Failed to read output from testmodel.py, exit status != 0: 7.595292815938592 7.604968847 7.426948433 Calling exit ...