Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0008089/0.0008089, allocations: 83.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.001013/0.001013, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8805/0.8805, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.2237/0.2237, allocations: 29.4 MB / 290.1 MB, free: 2.422 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.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.134e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.005255/0.005276, allocations: 5.803 MB / 436 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.007314, allocations: 1.367 MB / 437.4 MB, free: 6.398 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.007648, allocations: 35.62 kB / 437.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.008074, allocations: 146.8 kB / 437.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009455/0.00902, allocations: 405.5 kB / 437.9 MB, free: 5.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.009421, allocations: 195.5 kB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.01019, allocations: 0.942 MB / 439.1 MB, free: 4.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.01045, allocations: 163.2 kB / 439.2 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007759/0.01123, allocations: 0.5452 MB / 439.8 MB, free: 3.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.01179, allocations: 442.8 kB / 440.2 MB, free: 3.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.265e-05/0.01186, allocations: 48 kB / 440.3 MB, free: 3.488 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.01194, allocations: 48 kB / 440.3 MB, free: 3.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01213, allocations: 291.1 kB / 440.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.0123, allocations: 207.5 kB / 440.8 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.0129, allocations: 0.6775 MB / 441.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01291, allocations: 4 kB / 441.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01291, allocations: 0 / 441.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.01292, allocations: 0 / 441.5 MB, free: 2.27 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00128/0.0142, allocations: 0.8921 MB / 442.4 MB, free: 1.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.01425, allocations: 15.98 kB / 442.4 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.633e-05/0.01432, allocations: 90.7 kB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.01442, allocations: 68.52 kB / 442.5 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.01509, allocations: 0.4884 MB / 443 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.01512, allocations: 41.31 kB / 443.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.01518, allocations: 52.36 kB / 443.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1545/0.1697, allocations: 0.6227 MB / 443.7 MB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1697, allocations: 4.531 kB / 443.8 MB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.1698, allocations: 17.94 kB / 443.8 MB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.1699, allocations: 35.92 kB / 443.8 MB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.1705, allocations: 0.5039 MB / 444.3 MB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.1723, allocations: 2.071 MB / 446.4 MB, free: 53.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.1728, allocations: 463.7 kB / 446.8 MB, free: 53.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1731, allocations: 323.4 kB / 447.1 MB, free: 53.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1731, allocations: 6.281 kB / 447.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1732, allocations: 41.69 kB / 447.2 MB, free: 53.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.1732, allocations: 0 / 447.2 MB, free: 53.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.001967/0.1751, allocations: 1.599 MB / 448.8 MB, free: 52.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1752, allocations: 84.3 kB / 448.9 MB, free: 52.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1755, allocations: 430.9 kB / 449.3 MB, free: 52.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1755, allocations: 33.7 kB / 449.3 MB, free: 52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1756, allocations: 302.2 kB / 449.6 MB, free: 51.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.1757, allocations: 165.4 kB / 449.8 MB, free: 51.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.1758, allocations: 103.4 kB / 449.9 MB, free: 51.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.1758, allocations: 360.5 kB / 450.2 MB, free: 51.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.176, allocations: 184 kB / 450.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1762, allocations: 318.7 kB / 450.7 MB, free: 51.02 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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.1776, allocations: 1.163 MB / 451.9 MB, free: 50.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1776, allocations: 1.938 kB / 451.9 MB, free: 50.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006172/0.1782, allocations: 0.7064 MB / 452.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1782, allocations: 7.594 kB / 452.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.1782, allocations: 3.25 kB / 452.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.1785, allocations: 146.1 kB / 452.8 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1787, allocations: 110.7 kB / 452.9 MB, free: 50.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.1802, allocations: 2.487 MB / 455.3 MB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1804, allocations: 24.94 kB / 455.4 MB, free: 48.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1804, allocations: 20.44 kB / 455.4 MB, free: 48.42 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[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.1806, allocations: 225.5 kB / 455.6 MB, free: 48.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.1806, allocations: 54.17 kB / 455.7 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.1812, allocations: 0.6554 MB / 456.3 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1812, allocations: 3.25 kB / 456.3 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1812, allocations: 3.375 kB / 456.3 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1812, allocations: 3.375 kB / 456.3 MB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1823, allocations: 1.247 MB / 457.6 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1823, allocations: 3.312 kB / 457.6 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1825, allocations: 71.11 kB / 457.7 MB, free: 47.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.1827, allocations: 148.3 kB / 457.8 MB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1827, allocations: 13.69 kB / 457.8 MB, free: 47.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.1841, allocations: 2.5 MB / 460.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1841, allocations: 7.094 kB / 460.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.1848, allocations: 0.9815 MB / 461.3 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.1849, allocations: 50.98 kB / 461.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1849, allocations: 7.406 kB / 461.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.185, allocations: 21.52 kB / 461.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1851, allocations: 45.23 kB / 461.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1851, allocations: 17.36 kB / 461.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1853, allocations: 294.4 kB / 461.7 MB, free: 44.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1853, allocations: 0 / 461.7 MB, free: 44.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.1857, allocations: 144.1 kB / 461.9 MB, free: 44.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,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 (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008557/0.1865, allocations: 1.524 MB / 463.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.1872, allocations: 0.6352 MB / 464 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1872, allocations: 0 / 464 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.1875, allocations: 426.1 kB / 464.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.188, allocations: 141.3 kB / 464.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.1916, allocations: 5.046 MB / 469.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1918, allocations: 329.8 kB / 469.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.192, allocations: 105.3 kB / 470 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.1921, allocations: 197.1 kB / 470.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1921, allocations: 0 / 470.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.2194, allocations: 13.12 MB / 483.4 MB, free: 38.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.233, allocations: 12.52 kB / 483.4 MB, free: 38.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.050470752641559] Failed to read output from testmodel.py, exit status != 0: 7.321269125677645 7.339751937 7.321784238 Calling exit ...