Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001289/0.001289, allocations: 123.4 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.001361/0.001361, allocations: 208.3 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.506/1.506, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.1908/0.1908, allocations: 38.51 MB / 348.7 MB, free: 2.578 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.00202/0.00202, allocations: 63.91 kB / 487.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1152, allocations: 62.42 MB / 0.5367 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005498/0.1207, allocations: 3.47 MB / 0.54 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1231, allocations: 1.5 MB / 0.5415 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1232, allocations: 11.94 kB / 0.5415 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008565/0.1241, allocations: 262.6 kB / 0.5418 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.1247, allocations: 279 kB / 0.542 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.125, allocations: 115.7 kB / 0.5421 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.1254, allocations: 335.1 kB / 0.5425 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.1257, allocations: 112.9 kB / 0.5426 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1259, allocations: 159.4 kB / 0.5427 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1262, allocations: 171.4 kB / 0.5429 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1262, allocations: 12 kB / 0.5429 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.1267, allocations: 319.2 kB / 0.5432 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1268, allocations: 99.69 kB / 0.5433 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.127, allocations: 111.4 kB / 0.5434 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1274, allocations: 346.8 kB / 0.5437 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1274, allocations: 0 / 0.5437 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1274, allocations: 0 / 0.5437 GB, free: 280 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1274, allocations: 0 / 0.5437 GB, free: 280 kB / 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.000759/0.1282, allocations: 0.5215 MB / 0.5442 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1282, allocations: 8.031 kB / 0.5443 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.686e-05/0.1283, allocations: 58.72 kB / 0.5443 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.1292, allocations: 96.67 kB / 0.5444 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1295, allocations: 256.6 kB / 0.5446 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1295, allocations: 20.38 kB / 0.5447 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1296, allocations: 27.88 kB / 0.5447 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.1301, allocations: 314.3 kB / 0.545 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1301, allocations: 0 / 0.545 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.1301, allocations: 8 kB / 0.545 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.1302, allocations: 19.98 kB / 0.545 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.1306, allocations: 295.6 kB / 0.5453 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1324, allocations: 1.285 MB / 0.5466 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.133, allocations: 201.2 kB / 0.5468 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1331, allocations: 61.69 kB / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1331, allocations: 0 / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1332, allocations: 34.56 kB / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1332, allocations: 4 kB / 0.5468 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001003/0.1342, allocations: 438.8 kB / 0.5473 GB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.1342, allocations: 81.23 kB / 0.5473 GB, free: 12.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1344, allocations: 198.6 kB / 0.5475 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1344, allocations: 29.7 kB / 0.5476 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1346, allocations: 164.1 kB / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.1346, allocations: 43.58 kB / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.1347, allocations: 49.66 kB / 0.5478 GB, free: 11.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1349, allocations: 334.8 kB / 0.5481 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.1349, allocations: 51.97 kB / 0.5482 GB, free: 11.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1351, allocations: 157.4 kB / 0.5483 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.1354, allocations: 225.3 kB / 0.5485 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1354, allocations: 0 / 0.5485 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004621/0.1359, allocations: 270 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1359, allocations: 8 kB / 0.5488 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1359, allocations: 4 kB / 0.5488 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.1362, allocations: 41.27 kB / 0.5488 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1364, allocations: 43.92 kB / 0.5489 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.1378, allocations: 1.457 MB / 0.5503 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1379, allocations: 4 kB / 0.5503 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.138, allocations: 12 kB / 0.5503 GB, free: 8.949 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 (24): * Single equations (assignments): 23 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.1381, allocations: 165.6 kB / 0.5505 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.1382, allocations: 19.84 kB / 0.5505 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.1386, allocations: 192 kB / 0.5507 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1386, allocations: 4 kB / 0.5507 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1386, allocations: 0 / 0.5507 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1386, allocations: 0 / 0.5507 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.1395, allocations: 0.5641 MB / 0.5512 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1395, allocations: 0 / 0.5512 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.1396, allocations: 19.94 kB / 0.5513 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.1398, allocations: 36.77 kB / 0.5513 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1398, allocations: 0 / 0.5513 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.1412, allocations: 1.422 MB / 0.5527 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1412, allocations: 4 kB / 0.5527 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.1416, allocations: 306.4 kB / 0.553 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.1417, allocations: 93.02 kB / 0.5531 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1417, allocations: 11.98 kB / 0.5531 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1418, allocations: 4 kB / 0.5531 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1419, allocations: 23.91 kB / 0.5531 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1419, allocations: 4 kB / 0.5531 GB, free: 5.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1421, allocations: 140.3 kB / 0.5532 GB, free: 5.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1421, allocations: 0 / 0.5532 GB, free: 5.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.1425, allocations: 48 kB / 0.5533 GB, free: 5.629 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007843/0.1433, allocations: 0.8374 MB / 0.5541 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.1438, allocations: 254.5 kB / 0.5544 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1438, allocations: 0 / 0.5544 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.1441, allocations: 178.5 kB / 0.5545 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1445, allocations: 40.02 kB / 0.5546 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.1479, allocations: 2.382 MB / 0.5569 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1484, allocations: 0.7593 MB / 0.5576 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.1486, allocations: 37.52 kB / 0.5577 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.1487, allocations: 63.41 kB / 0.5577 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1487, allocations: 3.938 kB / 0.5577 GB, free: 0.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.1781, allocations: 3.93 MB / 0.5616 GB, free: 12.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.991/10.17, allocations: 4.953 kB / 0.5616 GB, free: 12.96 MB / 430.1 MB " [Timeout remaining time 650] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.069056387990713] Failed to read output from testmodel.py, exit status != 0: 10.253345945995534 10.275191436 10.143566915 Calling exit ...