Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001267/0.001267, allocations: 119.4 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.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.001426/0.001426, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2113/0.2113, allocations: 38.51 MB / 348.7 MB, free: 2.668 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-master/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.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",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.002857/0.002857, allocations: 75.88 kB / 487.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1308, allocations: 62.41 MB / 0.5367 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.008954/0.1397, allocations: 4.62 MB / 0.5412 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.1429, allocations: 1.359 MB / 0.5425 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.1431, allocations: 19.88 kB / 0.5425 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.1446, allocations: 405.1 kB / 0.5429 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007853/0.1454, allocations: 258.8 kB / 0.5432 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.146, allocations: 167.6 kB / 0.5433 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009135/0.1469, allocations: 0.5647 MB / 0.5439 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.1474, allocations: 225.3 kB / 0.5441 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.148, allocations: 274.8 kB / 0.5444 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.1486, allocations: 310.9 kB / 0.5447 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.1486, allocations: 28 kB / 0.5447 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.149, allocations: 127.8 kB / 0.5448 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.1493, allocations: 195.5 kB / 0.545 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.1496, allocations: 218.9 kB / 0.5452 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000867/0.1505, allocations: 0.5175 MB / 0.5457 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1505, allocations: 0 / 0.5457 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1505, allocations: 0 / 0.5457 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.1505, allocations: 0 / 0.5457 GB, free: 14.29 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001585/0.1521, allocations: 0.7103 MB / 0.5464 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1521, allocations: 8.031 kB / 0.5464 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.1522, allocations: 82.7 kB / 0.5465 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/0.153, allocations: 84.56 kB / 0.5466 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.1539, allocations: 415.4 kB / 0.547 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.1539, allocations: 25.36 kB / 0.547 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1541, allocations: 47.92 kB / 0.547 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.1552, allocations: 480.8 kB / 0.5475 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.1552, allocations: 0 / 0.5475 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.1553, allocations: 23.91 kB / 0.5475 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.1555, allocations: 28.98 kB / 0.5475 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.1563, allocations: 343.7 kB / 0.5479 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.1593, allocations: 1.73 MB / 0.5496 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.1597, allocations: 141.1 kB / 0.5497 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.16, allocations: 109.7 kB / 0.5498 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.16, allocations: 4.281 kB / 0.5498 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.1601, allocations: 34.56 kB / 0.5498 GB, free: 9.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 2.484e-06/0.1601, allocations: 0 / 0.5498 GB, free: 9.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.002319/0.1624, allocations: 0.8982 MB / 0.5507 GB, free: 8.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.1625, allocations: 81.11 kB / 0.5508 GB, free: 8.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.163, allocations: 312.5 kB / 0.5511 GB, free: 8.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.163, allocations: 25.7 kB / 0.5511 GB, free: 8.367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.1633, allocations: 260 kB / 0.5514 GB, free: 8.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.1634, allocations: 67.42 kB / 0.5514 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1635, allocations: 61.97 kB / 0.5515 GB, free: 7.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1637, allocations: 350.7 kB / 0.5518 GB, free: 7.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1638, allocations: 104.2 kB / 0.5519 GB, free: 7.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.1642, allocations: 193.4 kB / 0.5521 GB, free: 7.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.1649, allocations: 331.7 kB / 0.5524 GB, free: 6.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1649, allocations: 0 / 0.5524 GB, free: 6.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001377/0.1662, allocations: 472.4 kB / 0.5529 GB, free: 6.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1663, allocations: 8.438 kB / 0.5529 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008701/0.1671, allocations: 319.9 kB / 0.5532 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.1678, allocations: 132.7 kB / 0.5533 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.1682, allocations: 55.91 kB / 0.5534 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.1715, allocations: 2.435 MB / 0.5557 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.1717, allocations: 15.98 kB / 0.5558 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.1717, allocations: 16 kB / 0.5558 GB, free: 3.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002454/0.172, allocations: 189.7 kB / 0.556 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.172, allocations: 27.81 kB / 0.556 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.1726, allocations: 273.3 kB / 0.5562 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1726, allocations: 0 / 0.5562 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1726, allocations: 4 kB / 0.5562 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1726, allocations: 64 / 0.5562 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1738, allocations: 0.7467 MB / 0.557 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.1738, allocations: 4 kB / 0.557 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1741, allocations: 31.98 kB / 0.557 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.1742, allocations: 36.83 kB / 0.557 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1742, allocations: 4 kB / 0.557 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1742, allocations: 8.047 kB / 0.5571 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1742, allocations: 7.938 kB / 0.5571 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.1748, allocations: 430.6 kB / 0.5575 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.1749, allocations: 105 kB / 0.5576 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1749, allocations: 12 kB / 0.5576 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.175, allocations: 7.984 kB / 0.5576 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1751, allocations: 23.86 kB / 0.5576 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1751, allocations: 4 kB / 0.5576 GB, free: 1.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000232/0.1753, allocations: 223 kB / 0.5578 GB, free: 1.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1753, allocations: 0 / 0.5578 GB, free: 1.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004628/0.1758, allocations: 84 kB / 0.5579 GB, free: 1.008 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009355/0.1767, allocations: 0.9875 MB / 0.5589 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007602/0.1775, allocations: 404.8 kB / 0.5593 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1775, allocations: 0 / 0.5593 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1777, allocations: 174.7 kB / 0.5594 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.1782, allocations: 65.11 kB / 0.5595 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.1832, allocations: 3.562 MB / 0.563 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.1838, allocations: 0.8419 MB / 0.5638 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.184, allocations: 62.92 kB / 0.5639 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.1842, allocations: 123.4 kB / 0.564 GB, free: 10.52 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1842, allocations: 0 / 0.564 GB, free: 10.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.2207, allocations: 7.429 MB / 0.5712 GB, free: 3.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/12.96, allocations: 3.984 kB / 0.5712 GB, free: 3.242 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[1] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[1] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[2] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[2] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! Error: Could not read variable sensor.p[3] in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv. Warning: Get data of variable sensor.p[3] from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.052818607073277]