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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 119.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 185.2 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.1 MB, free: 3.59 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.1897/0.1897, allocations: 38.5 MB / 342.5 MB, free: 8.008 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001926/0.001926, allocations: 70.62 kB / 478.6 MB, free: 33.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 61.24 MB / 0.5272 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008504/0.116, allocations: 6.154 MB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.119, allocations: 1.422 MB / 0.5346 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.1195, allocations: 27.81 kB / 0.5346 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.1201, allocations: 142.9 kB / 0.5348 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1211, allocations: 390 kB / 0.5351 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.1217, allocations: 195.7 kB / 0.5353 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.1228, allocations: 0.9188 MB / 0.5362 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.1232, allocations: 210.7 kB / 0.5364 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.1238, allocations: 406.3 kB / 0.5368 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.1246, allocations: 0.4944 MB / 0.5373 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.1247, allocations: 48 kB / 0.5373 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1248, allocations: 48 kB / 0.5374 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.125, allocations: 271.2 kB / 0.5376 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.1254, allocations: 318.4 kB / 0.5379 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000851/0.1262, allocations: 0.6729 MB / 0.5386 GB, free: 5.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1262, allocations: 4 kB / 0.5386 GB, free: 5.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1262, allocations: 0 / 0.5386 GB, free: 5.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1263, allocations: 4 kB / 0.5386 GB, free: 5.727 MB / 398.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.001909/0.1282, allocations: 0.9674 MB / 0.5396 GB, free: 4.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1282, allocations: 11.89 kB / 0.5396 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1283, allocations: 94.7 kB / 0.5397 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1285, allocations: 72.52 kB / 0.5397 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1296, allocations: 0.5536 MB / 0.5403 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.1296, allocations: 40.94 kB / 0.5403 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.1297, allocations: 48 kB / 0.5404 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.1307, allocations: 0.6288 MB / 0.541 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1307, allocations: 4 kB / 0.541 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.1308, allocations: 20 kB / 0.541 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.1309, allocations: 36.91 kB / 0.541 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.1318, allocations: 0.5035 MB / 0.5415 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.1353, allocations: 2.222 MB / 0.5437 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/0.1362, allocations: 480.9 kB / 0.5441 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.1369, allocations: 330 kB / 0.5445 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.137, allocations: 8 kB / 0.5445 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.137, allocations: 31.28 kB / 0.5445 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.454e-06/0.137, allocations: 4 kB / 0.5445 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.003615/0.1406, allocations: 1.762 MB / 0.5462 GB, free: 13.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1407, allocations: 85.11 kB / 0.5463 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.1412, allocations: 417.8 kB / 0.5467 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1412, allocations: 37.64 kB / 0.5467 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.1415, allocations: 305 kB / 0.547 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.1416, allocations: 174.6 kB / 0.5472 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.1418, allocations: 98.17 kB / 0.5473 GB, free: 12.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.142, allocations: 362.8 kB / 0.5476 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.1423, allocations: 185 kB / 0.5478 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.1427, allocations: 305.8 kB / 0.5481 GB, free: 11.56 MB / 414.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.002726/0.1454, allocations: 1.237 MB / 0.5493 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1454, allocations: 8 kB / 0.5493 GB, free: 10.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001269/0.1467, allocations: 0.7072 MB / 0.55 GB, free: 9.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1467, allocations: 8 kB / 0.55 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1467, allocations: 4 kB / 0.55 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.1471, allocations: 136.8 kB / 0.5502 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.1476, allocations: 111.8 kB / 0.5503 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003297/0.1509, allocations: 2.611 MB / 0.5528 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.1513, allocations: 28.02 kB / 0.5528 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.1513, allocations: 20 kB / 0.5529 GB, free: 6.484 MB / 414.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.0003476/0.1517, allocations: 225.6 kB / 0.5531 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.1518, allocations: 55.61 kB / 0.5531 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.153, allocations: 0.6503 MB / 0.5538 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.153, allocations: 8.078 kB / 0.5538 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.153, allocations: 4 kB / 0.5538 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.153, allocations: 7.922 kB / 0.5538 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.1554, allocations: 1.369 MB / 0.5551 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1554, allocations: 4.031 kB / 0.5551 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.1558, allocations: 71.89 kB / 0.5552 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.1563, allocations: 152.8 kB / 0.5553 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.1563, allocations: 11.94 kB / 0.5553 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.1595, allocations: 2.615 MB / 0.5579 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1595, allocations: 3.938 kB / 0.5579 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.1611, allocations: 0.9848 MB / 0.5589 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.1613, allocations: 128.7 kB / 0.559 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.1614, allocations: 12 kB / 0.559 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.1616, allocations: 24.06 kB / 0.559 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.1617, allocations: 43.88 kB / 0.5591 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.1617, allocations: 20 kB / 0.5591 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003624/0.1621, allocations: 291.1 kB / 0.5594 GB, free: 15.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1621, allocations: 0 / 0.5594 GB, free: 15.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.1627, allocations: 144 kB / 0.5595 GB, free: 15.38 MB / 430.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.001934/0.1647, allocations: 1.534 MB / 0.561 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.166, allocations: 0.6367 MB / 0.5616 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.166, allocations: 0 / 0.5616 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.1667, allocations: 419.1 kB / 0.562 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007492/0.1674, allocations: 151.3 kB / 0.5622 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.1749, allocations: 5.125 MB / 0.5672 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.1756, allocations: 0.9253 MB / 0.5681 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.1759, allocations: 108.7 kB / 0.5682 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.1762, allocations: 191.4 kB / 0.5684 GB, free: 5.988 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1762, allocations: 0 / 0.5684 GB, free: 5.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.2199, allocations: 11.99 MB / 0.5801 GB, free: 10.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 9.406 kB / 0.5801 GB, free: 10.16 MB / 446.1 MB " [Timeout remaining time 649] (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: 13.952231382019818] Failed to read output from testmodel.py, exit status != 0: 11.234664099756628 11.251187986 11.121727022 Calling exit ...