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.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.001917/0.001917, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.002418/0.002418, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.522/1.522, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.1879/0.1879, allocations: 38.5 MB / 342.5 MB, free: 8.012 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.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 0.001999/0.001999, allocations: 66.61 kB / 478.6 MB, free: 33.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.097, allocations: 61.24 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.008901/0.1059, allocations: 6.553 MB / 0.5336 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.1096, allocations: 1.893 MB / 0.5355 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.11, allocations: 27.88 kB / 0.5355 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.1114, allocations: 445.8 kB / 0.5359 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.1125, allocations: 425.8 kB / 0.5363 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.1135, allocations: 351.3 kB / 0.5366 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.1147, allocations: 1.032 MB / 0.5377 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.1154, allocations: 408.5 kB / 0.538 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.1161, allocations: 474.1 kB / 0.5385 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.117, allocations: 0.5997 MB / 0.5391 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.1171, allocations: 71.94 kB / 0.5392 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.1177, allocations: 275.6 kB / 0.5394 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.1181, allocations: 375 kB / 0.5398 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.1186, allocations: 421.9 kB / 0.5402 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.12, allocations: 1.047 MB / 0.5412 GB, free: 3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.12, allocations: 4 kB / 0.5412 GB, free: 2.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.12, allocations: 0 / 0.5412 GB, free: 2.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1201, allocations: 3.938 kB / 0.5412 GB, free: 2.992 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002403/0.1225, allocations: 1.135 MB / 0.5423 GB, free: 1.801 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1225, allocations: 15.83 kB / 0.5423 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.1226, allocations: 122.8 kB / 0.5424 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.1236, allocations: 128.3 kB / 0.5426 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1251, allocations: 0.6161 MB / 0.5432 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.1251, allocations: 49.69 kB / 0.5432 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.1253, allocations: 83.81 kB / 0.5433 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.1269, allocations: 1.006 MB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.127, allocations: 3.984 kB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.127, allocations: 31.98 kB / 0.5443 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/0.1273, allocations: 73.95 kB / 0.5444 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.1289, allocations: 0.9758 MB / 0.5453 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005737/0.1346, allocations: 3.264 MB / 0.5485 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.1358, allocations: 0.6326 MB / 0.5491 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.1365, allocations: 391.4 kB / 0.5495 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.1365, allocations: 13.44 kB / 0.5495 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.1366, allocations: 39.12 kB / 0.5496 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.805e-06/0.1366, allocations: 3.938 kB / 0.5496 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=75): time 0.004339/0.1409, allocations: 2.445 MB / 0.552 GB, free: 7.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.141, allocations: 85.67 kB / 0.552 GB, free: 7.496 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.1415, allocations: 445.8 kB / 0.5525 GB, free: 7.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.1416, allocations: 33.83 kB / 0.5525 GB, free: 7.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.1419, allocations: 372.4 kB / 0.5529 GB, free: 6.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.1421, allocations: 273.7 kB / 0.5531 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.1424, allocations: 150.6 kB / 0.5533 GB, free: 6.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1426, allocations: 382.7 kB / 0.5536 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.1431, allocations: 337.8 kB / 0.5539 GB, free: 5.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.1439, allocations: 0.5146 MB / 0.5544 GB, free: 4.914 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005441/0.1493, allocations: 2.241 MB / 0.5566 GB, free: 2.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1493, allocations: 4 kB / 0.5566 GB, free: 2.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00182/0.1511, allocations: 1.106 MB / 0.5577 GB, free: 1.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1512, allocations: 4 kB / 0.5577 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.1512, allocations: 12 kB / 0.5577 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.1513, allocations: 48.7 kB / 0.5578 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.1521, allocations: 187.7 kB / 0.558 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.1536, allocations: 1.492 MB / 0.5594 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.1541, allocations: 40.03 kB / 0.5595 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.1542, allocations: 36 kB / 0.5595 GB, free: 15.49 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.0004495/0.1546, allocations: 281.4 kB / 0.5598 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1547, allocations: 63.58 kB / 0.5598 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.1564, allocations: 0.97 MB / 0.5608 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.1564, allocations: 16 kB / 0.5608 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1564, allocations: 3.938 kB / 0.5608 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1564, allocations: 3.984 kB / 0.5608 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/0.1602, allocations: 2.001 MB / 0.5627 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.1602, allocations: 8.703 kB / 0.5628 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/0.1609, allocations: 155.8 kB / 0.5629 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.161, allocations: 44.77 kB / 0.5629 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.1611, allocations: 19.98 kB / 0.563 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.1625, allocations: 1.5 MB / 0.5644 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.1625, allocations: 4 kB / 0.5644 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.1648, allocations: 1.533 MB / 0.5659 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.165, allocations: 140.7 kB / 0.5661 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.1651, allocations: 24.05 kB / 0.5661 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.1654, allocations: 31.97 kB / 0.5661 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1656, allocations: 60.38 kB / 0.5662 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.1656, allocations: 24 kB / 0.5662 GB, free: 8.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.166, allocations: 303.1 kB / 0.5665 GB, free: 7.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.166, allocations: 0 / 0.5665 GB, free: 7.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007681/0.1668, allocations: 191.9 kB / 0.5667 GB, free: 7.699 MB / 430.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.002776/0.1695, allocations: 2.132 MB / 0.5687 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.1711, allocations: 0.9029 MB / 0.5696 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1711, allocations: 3.938 kB / 0.5696 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.1719, allocations: 495.9 kB / 0.5701 GB, free: 4.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.1728, allocations: 147.3 kB / 0.5702 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.1829, allocations: 7.064 MB / 0.5771 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/0.1838, allocations: 1.016 MB / 0.5781 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000629/0.1844, allocations: 201.4 kB / 0.5783 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.1848, allocations: 275.3 kB / 0.5786 GB, free: 10.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1848, allocations: 3.938 kB / 0.5786 GB, free: 10.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04881/0.2337, allocations: 14.78 MB / 0.593 GB, free: 12.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.15, allocations: 9.094 kB / 0.593 GB, free: 12.3 MB / 462.1 MB " [Timeout remaining time 649] (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.292821899987757] Failed to read output from testmodel.py, exit status != 0: 11.24850378697738 11.487370517 11.141355917 Calling exit ...