Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001816/0.001816, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002122/0.002122, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.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.1922/0.1922, allocations: 38.51 MB / 348.7 MB, free: 2.57 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",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.001974/0.001974, allocations: 67.91 kB / 487.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1203, allocations: 62.41 MB / 0.5367 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006205/0.1265, allocations: 3.964 MB / 0.5405 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1283, allocations: 0.9193 MB / 0.5414 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.1285, allocations: 15.88 kB / 0.5415 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1287, allocations: 43.56 kB / 0.5415 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005506/0.1293, allocations: 175.1 kB / 0.5417 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1295, allocations: 83.83 kB / 0.5417 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.13, allocations: 370.7 kB / 0.5421 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1302, allocations: 72.55 kB / 0.5422 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.1305, allocations: 175.2 kB / 0.5423 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.1308, allocations: 179.4 kB / 0.5425 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.1309, allocations: 19.94 kB / 0.5425 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.207e-05/0.1309, allocations: 16 kB / 0.5425 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.131, allocations: 79.73 kB / 0.5426 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1312, allocations: 123.3 kB / 0.5427 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.1316, allocations: 266.8 kB / 0.543 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1316, allocations: 0 / 0.543 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1316, allocations: 0 / 0.543 GB, free: 1.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.1316, allocations: 0 / 0.543 GB, free: 1.031 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001116/0.1327, allocations: 0.5619 MB / 0.5435 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1328, allocations: 8.031 kB / 0.5435 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.421e-05/0.1329, allocations: 62.72 kB / 0.5436 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.1329, allocations: 32.75 kB / 0.5436 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.1335, allocations: 335.8 kB / 0.544 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1335, allocations: 12.44 kB / 0.544 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.1336, allocations: 24 kB / 0.544 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.134, allocations: 266 kB / 0.5442 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1341, allocations: 7.938 kB / 0.5442 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1341, allocations: 11.83 kB / 0.5443 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1341, allocations: 4 kB / 0.5443 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.1344, allocations: 159.8 kB / 0.5444 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1357, allocations: 1.171 MB / 0.5456 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1359, allocations: 81.11 kB / 0.5456 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.1359, allocations: 21.78 kB / 0.5457 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1359, allocations: 0 / 0.5457 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.136, allocations: 42.59 kB / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.136, allocations: 0 / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008664/0.1369, allocations: 425.3 kB / 0.5461 GB, free: 13.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1369, allocations: 77.11 kB / 0.5462 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.1372, allocations: 242.6 kB / 0.5464 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1372, allocations: 29.7 kB / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1374, allocations: 192 kB / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1374, allocations: 31.73 kB / 0.5466 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.1375, allocations: 41.78 kB / 0.5467 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1376, allocations: 338.8 kB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.1377, allocations: 19.98 kB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1378, allocations: 128.1 kB / 0.5472 GB, free: 12.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.138, allocations: 164.7 kB / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.138, allocations: 4 kB / 0.5473 GB, free: 12.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002757/0.1383, allocations: 181.2 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1383, allocations: 11.94 kB / 0.5475 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1383, allocations: 4.438 kB / 0.5475 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1383, allocations: 12 kB / 0.5475 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1385, allocations: 47.91 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1385, allocations: 4 kB / 0.5476 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.1386, allocations: 4 kB / 0.5476 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1386, allocations: 12 kB / 0.5476 GB, free: 11.87 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.1388, allocations: 149.6 kB / 0.5477 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.1388, allocations: 23.8 kB / 0.5477 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.139, allocations: 103.3 kB / 0.5478 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.139, allocations: 4 kB / 0.5478 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.139, allocations: 4 kB / 0.5478 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.139, allocations: 3.938 kB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1395, allocations: 423.4 kB / 0.5483 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1395, allocations: 0 / 0.5483 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.585e-05/0.1396, allocations: 19.98 kB / 0.5483 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1396, allocations: 0 / 0.5483 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1396, allocations: 4 kB / 0.5483 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1396, allocations: 80 / 0.5483 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1397, allocations: 8.016 kB / 0.5483 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1399, allocations: 225 kB / 0.5485 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.14, allocations: 97 kB / 0.5486 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.1401, allocations: 7.984 kB / 0.5486 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1402, allocations: 3.984 kB / 0.5486 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1402, allocations: 8.062 kB / 0.5486 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1402, allocations: 4 kB / 0.5486 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1404, allocations: 173.9 kB / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1404, allocations: 96 / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000318/0.1407, allocations: 47.92 kB / 0.5488 GB, free: 10.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005821/0.1413, allocations: 0.7647 MB / 0.5496 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1415, allocations: 83.78 kB / 0.5497 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1415, allocations: 0.9375 kB / 0.5497 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.1415, allocations: 23.94 kB / 0.5497 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.142, allocations: 62.69 kB / 0.5497 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.1448, allocations: 2.298 MB / 0.552 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1452, allocations: 0.7597 MB / 0.5527 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.1453, allocations: 30.27 kB / 0.5528 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1454, allocations: 75.41 kB / 0.5528 GB, free: 6.145 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1454, allocations: 0 / 0.5528 GB, free: 6.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.1758, allocations: 4.184 MB / 0.5569 GB, free: 2.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.424, allocations: 0 / 0.5569 GB, free: 2.059 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.337210037003388] Failed to read output from testmodel.py, exit status != 0: 8.496859798004152 8.514442828 8.379377464 Calling exit ...