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.001332/0.001332, allocations: 85.36 kB / 20.68 MB, free: 1.035 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.001581/0.001581, allocations: 164.8 kB / 23.95 MB, free: 4.168 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.522/1.522, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.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.1781/0.1781, allocations: 29.43 MB / 290.1 MB, free: 3.281 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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.206e-05, allocations: 10.16 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.007988/0.00802, allocations: 5.806 MB / 436.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.01068, allocations: 1.367 MB / 437.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/0.01106, allocations: 35.69 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.0116, allocations: 146.8 kB / 438.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000985/0.01259, allocations: 401.5 kB / 438.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.01316, allocations: 195.5 kB / 438.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.01436, allocations: 0.938 MB / 439.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.01467, allocations: 167.2 kB / 439.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008133/0.01548, allocations: 0.5452 MB / 440.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007461/0.01623, allocations: 446.8 kB / 440.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.01632, allocations: 44 kB / 440.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.01645, allocations: 48 kB / 440.8 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.01676, allocations: 283.2 kB / 441.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.01706, allocations: 219.5 kB / 441.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008144/0.01788, allocations: 0.6775 MB / 442 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01788, allocations: 0 / 442 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.01789, allocations: 4 kB / 442 MB, free: 6.609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.01789, allocations: 0 / 442 MB, free: 6.609 MB / 366.1 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.001724/0.01962, allocations: 0.8805 MB / 442.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.01966, allocations: 11.98 kB / 442.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.0198, allocations: 80.47 kB / 443 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.02081, allocations: 496.2 kB / 443.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.02086, allocations: 37.38 kB / 443.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.02095, allocations: 48.38 kB / 443.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.02198, allocations: 0.6289 MB / 444.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.022, allocations: 7.875 kB / 444.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.02205, allocations: 16 kB / 444.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.02217, allocations: 40.97 kB / 444.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.02303, allocations: 0.5035 MB / 444.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.02617, allocations: 1.985 MB / 446.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.02706, allocations: 472.6 kB / 447.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007361/0.0278, allocations: 330.1 kB / 447.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.02783, allocations: 4 kB / 447.5 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.02788, allocations: 38.56 kB / 447.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.02788, allocations: 0 / 447.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.1889/0.2168, allocations: 1.597 MB / 449.1 MB, free: 30.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.2168, allocations: 84.17 kB / 449.2 MB, free: 30.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.2174, allocations: 402.6 kB / 449.6 MB, free: 30.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.2174, allocations: 34.95 kB / 449.6 MB, free: 30.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.2176, allocations: 296.3 kB / 449.9 MB, free: 29.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2177, allocations: 175.2 kB / 450.1 MB, free: 29.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.2179, allocations: 94.53 kB / 450.2 MB, free: 29.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.218, allocations: 362.4 kB / 450.5 MB, free: 29.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.2183, allocations: 187.5 kB / 450.7 MB, free: 29.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.2187, allocations: 307.5 kB / 451 MB, free: 29.09 MB / 366.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[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.2216, allocations: 1.173 MB / 452.2 MB, free: 28.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2216, allocations: 2.609 kB / 452.2 MB, free: 28.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001216/0.2228, allocations: 0.702 MB / 452.9 MB, free: 28.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2229, allocations: 6.344 kB / 452.9 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2229, allocations: 7.922 kB / 452.9 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.2233, allocations: 141 kB / 453.1 MB, free: 28.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.2238, allocations: 111.8 kB / 453.2 MB, free: 28.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.2266, allocations: 2.451 MB / 455.6 MB, free: 26.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.227, allocations: 25.8 kB / 455.6 MB, free: 26.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.227, allocations: 22.08 kB / 455.7 MB, free: 26.52 MB / 366.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[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.0003036/0.2273, allocations: 224 kB / 455.9 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/0.2274, allocations: 51.66 kB / 455.9 MB, free: 26.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2285, allocations: 0.6518 MB / 456.6 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.2286, allocations: 10.83 kB / 456.6 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2286, allocations: 2.688 kB / 456.6 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2286, allocations: 2.484 kB / 456.6 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.2306, allocations: 1.176 MB / 457.8 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2306, allocations: 5.312 kB / 457.8 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.231, allocations: 73.05 kB / 457.9 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.2314, allocations: 156.5 kB / 458 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.2314, allocations: 13.81 kB / 458 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.2339, allocations: 2.465 MB / 460.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2339, allocations: 2.344 kB / 460.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.2355, allocations: 0.9787 MB / 461.5 MB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2356, allocations: 51.66 kB / 461.5 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.2356, allocations: 18.03 kB / 461.5 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.2359, allocations: 15.56 kB / 461.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.236, allocations: 43.05 kB / 461.6 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.236, allocations: 12.97 kB / 461.6 MB, free: 23.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.2363, allocations: 277.6 kB / 461.9 MB, free: 22.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2363, allocations: 1.219 kB / 461.9 MB, free: 22.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006855/0.237, allocations: 143 kB / 462 MB, free: 22.96 MB / 366.1 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.0001377/0.2371, allocations: 110.6 kB / 462.1 MB, free: 22.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2383, allocations: 0.637 MB / 462.8 MB, free: 22.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2383, allocations: 1.344 kB / 462.8 MB, free: 22.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.2389, allocations: 430.3 kB / 463.2 MB, free: 22.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/0.2396, allocations: 127.2 kB / 463.3 MB, free: 22.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2417, allocations: 1.24 MB / 464.6 MB, free: 21.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.2421, allocations: 330.5 kB / 464.9 MB, free: 21.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.2424, allocations: 100.5 kB / 465 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2425, allocations: 38.97 kB / 465 MB, free: 21.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2425, allocations: 1.156 kB / 465 MB, free: 21.51 MB / 366.1 MB Notification: Performance of Templates: time 0.01324/0.2558, allocations: 6.688 MB / 471.7 MB, free: 19.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.016210559755564] Failed to read output from testmodel.py, exit status != 0: 0.26444124430418015 0.27358170200000004 0.25331942700000004 Calling exit ...