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.001338/0.001338, allocations: 113 kB / 18.49 MB, free: 4.535 MB / 14.72 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.001525/0.001525, allocations: 217.4 kB / 21.46 MB, free: 1.582 MB / 14.72 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 1.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] 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.1944/0.1944, allocations: 38.51 MB / 349.4 MB, free: 2.586 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterAvToGrid",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 72.14 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1514, allocations: 62.42 MB / 0.5374 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.009883/0.1613, allocations: 6.556 MB / 0.5438 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.1657, allocations: 1.932 MB / 0.5456 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.1663, allocations: 39.69 kB / 0.5457 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.1677, allocations: 453.8 kB / 0.5461 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009866/0.1687, allocations: 429.8 kB / 0.5465 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1697, allocations: 351.3 kB / 0.5469 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1711, allocations: 1.028 MB / 0.5479 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.1718, allocations: 420.4 kB / 0.5483 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.1725, allocations: 482.1 kB / 0.5487 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.1734, allocations: 0.6036 MB / 0.5493 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1735, allocations: 64 kB / 0.5494 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.174, allocations: 275.6 kB / 0.5496 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.1744, allocations: 383 kB / 0.55 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004567/0.1749, allocations: 425.9 kB / 0.5504 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1762, allocations: 1.055 MB / 0.5514 GB, free: 9.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1762, allocations: 4 kB / 0.5514 GB, free: 9.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1762, allocations: 0 / 0.5514 GB, free: 9.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1762, allocations: 0 / 0.5514 GB, free: 9.062 MB / 414.1 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.002346/0.1785, allocations: 1.143 MB / 0.5526 GB, free: 7.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1786, allocations: 8.031 kB / 0.5526 GB, free: 7.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.923e-05/0.1786, allocations: 17.5 kB / 0.5526 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.1788, allocations: 118.8 kB / 0.5527 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.1797, allocations: 176.2 kB / 0.5529 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1808, allocations: 0.6044 MB / 0.5535 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/0.1808, allocations: 61.36 kB / 0.5535 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.181, allocations: 64 kB / 0.5536 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.1825, allocations: 1.014 MB / 0.5546 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1826, allocations: 0 / 0.5546 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.1826, allocations: 31.98 kB / 0.5546 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.1828, allocations: 69.95 kB / 0.5547 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.1844, allocations: 0.9719 MB / 0.5556 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.1895, allocations: 3.276 MB / 0.5588 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1907, allocations: 0.6291 MB / 0.5594 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.1914, allocations: 386.3 kB / 0.5598 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.1914, allocations: 9.5 kB / 0.5598 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1915, allocations: 43.06 kB / 0.5598 GB, free: 164 kB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.1915, allocations: 3.938 kB / 0.5598 GB, free: 160 kB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004414/0.1959, allocations: 2.445 MB / 0.5622 GB, free: 13.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.1959, allocations: 85.67 kB / 0.5623 GB, free: 13.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/0.1965, allocations: 445.9 kB / 0.5627 GB, free: 13.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.1966, allocations: 37.7 kB / 0.5628 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.1969, allocations: 368.4 kB / 0.5631 GB, free: 12.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.1972, allocations: 269.7 kB / 0.5634 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.1974, allocations: 146.6 kB / 0.5635 GB, free: 12.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1976, allocations: 382.7 kB / 0.5639 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.1982, allocations: 341.8 kB / 0.5642 GB, free: 11.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.199, allocations: 0.5263 MB / 0.5647 GB, free: 10.93 MB / 430.1 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.006783/0.2057, allocations: 2.23 MB / 0.5669 GB, free: 8.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.2057, allocations: 4 kB / 0.5669 GB, free: 8.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002129/0.2079, allocations: 1.102 MB / 0.568 GB, free: 7.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.2079, allocations: 4 kB / 0.568 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.2079, allocations: 8 kB / 0.568 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.2082, allocations: 45.19 kB / 0.568 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/0.209, allocations: 199.6 kB / 0.5682 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.2107, allocations: 1.496 MB / 0.5697 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.2113, allocations: 39.95 kB / 0.5697 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.2113, allocations: 39.98 kB / 0.5698 GB, free: 5.512 MB / 430.1 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.0006787/0.212, allocations: 281.4 kB / 0.57 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.2123, allocations: 63.58 kB / 0.5701 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.2142, allocations: 0.9662 MB / 0.571 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/0.2143, allocations: 19.98 kB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.2143, allocations: 3.938 kB / 0.5711 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2143, allocations: 3.984 kB / 0.5711 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003624/0.2179, allocations: 2.017 MB / 0.573 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.2179, allocations: 4 kB / 0.573 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.2186, allocations: 143.8 kB / 0.5732 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.2188, allocations: 44.77 kB / 0.5732 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.2188, allocations: 20 kB / 0.5732 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.2202, allocations: 1.496 MB / 0.5747 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.2202, allocations: 8 kB / 0.5747 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.2224, allocations: 1.529 MB / 0.5762 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.2226, allocations: 144.7 kB / 0.5763 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.2227, allocations: 19.98 kB / 0.5764 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.2231, allocations: 35.97 kB / 0.5764 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2232, allocations: 56.38 kB / 0.5764 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.2232, allocations: 31.98 kB / 0.5765 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003862/0.2236, allocations: 299.1 kB / 0.5768 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2236, allocations: 3.938 kB / 0.5768 GB, free: 13.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007881/0.2244, allocations: 195.9 kB / 0.577 GB, free: 13.71 MB / 446.1 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.002554/0.227, allocations: 2.116 MB / 0.579 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.2286, allocations: 0.9181 MB / 0.5799 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.2286, allocations: 1.438 kB / 0.5799 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.2293, allocations: 498 kB / 0.5804 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/0.2302, allocations: 154.7 kB / 0.5805 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009842/0.2401, allocations: 7.052 MB / 0.5874 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.2408, allocations: 1.02 MB / 0.5884 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005509/0.2413, allocations: 201.4 kB / 0.5886 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/0.2417, allocations: 271.3 kB / 0.5889 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of SimCode: time 1.011e-06/0.2417, allocations: 0 / 0.5889 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2977/0.5395, allocations: 14.8 MB / 0.6033 GB, free: 49.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.84, allocations: 18.91 kB / 0.6034 GB, free: 49.24 MB / 446.1 MB " [Timeout remaining time 648] (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: 14.963746813999023] Failed to read output from testmodel.py, exit status != 0: 12.001093491970096 12.022718114 11.84248476 Calling exit ...