Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001701/0.001701, allocations: 113 kB / 18.49 MB, free: 4.539 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.002105/0.002105, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.588/1.588, allocations: 230.6 MB / 254.8 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.1904/0.1904, allocations: 38.51 MB / 349.4 MB, free: 2.566 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.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",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.002836/0.002836, allocations: 71.89 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.131, allocations: 62.41 MB / 0.5373 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006505/0.1376, allocations: 3.47 MB / 0.5407 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1403, allocations: 1.504 MB / 0.5422 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1404, allocations: 11.94 kB / 0.5422 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.1413, allocations: 262.9 kB / 0.5425 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.142, allocations: 279 kB / 0.5427 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1422, allocations: 111.7 kB / 0.5428 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.1427, allocations: 335 kB / 0.5432 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.1429, allocations: 117.7 kB / 0.5433 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.1432, allocations: 163.3 kB / 0.5434 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1435, allocations: 159.4 kB / 0.5436 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.1435, allocations: 20 kB / 0.5436 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.144, allocations: 319.2 kB / 0.5439 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1441, allocations: 107.7 kB / 0.544 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1442, allocations: 107.5 kB / 0.5441 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.1447, allocations: 338.8 kB / 0.5444 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1447, allocations: 0 / 0.5444 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1447, allocations: 0 / 0.5444 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1448, allocations: 0 / 0.5444 GB, free: 252 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.0008183/0.1456, allocations: 0.5177 MB / 0.5449 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1456, allocations: 16.03 kB / 0.545 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.537e-05/0.1456, allocations: 4.188 kB / 0.545 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.1457, allocations: 54.73 kB / 0.545 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009157/0.1466, allocations: 92.69 kB / 0.5451 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.147, allocations: 267.9 kB / 0.5454 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.147, allocations: 20.12 kB / 0.5454 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.1471, allocations: 19.95 kB / 0.5454 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.1476, allocations: 318.3 kB / 0.5457 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1476, allocations: 3.938 kB / 0.5457 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.1476, allocations: 4 kB / 0.5457 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/0.1477, allocations: 23.98 kB / 0.5457 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.1481, allocations: 291.7 kB / 0.546 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.15, allocations: 1.285 MB / 0.5473 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.1504, allocations: 234.2 kB / 0.5475 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1505, allocations: 45.77 kB / 0.5475 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1506, allocations: 11.97 kB / 0.5475 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.1506, allocations: 38.56 kB / 0.5476 GB, free: 12.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1506, allocations: 0 / 0.5476 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006568/0.1513, allocations: 296.2 kB / 0.5479 GB, free: 12.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.1513, allocations: 85.09 kB / 0.5479 GB, free: 12.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1515, allocations: 194.2 kB / 0.5481 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1515, allocations: 29.83 kB / 0.5482 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1517, allocations: 168.1 kB / 0.5483 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.1517, allocations: 51.52 kB / 0.5484 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.772e-05/0.1518, allocations: 49.66 kB / 0.5484 GB, free: 11.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1519, allocations: 326.8 kB / 0.5487 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.152, allocations: 47.97 kB / 0.5488 GB, free: 11.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.1522, allocations: 149.4 kB / 0.5489 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1525, allocations: 213.3 kB / 0.5491 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1525, allocations: 3.938 kB / 0.5491 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003578/0.1529, allocations: 241.4 kB / 0.5493 GB, free: 10.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1529, allocations: 8 kB / 0.5494 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1529, allocations: 0 / 0.5494 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1529, allocations: 8 kB / 0.5494 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1531, allocations: 39.92 kB / 0.5494 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1531, allocations: 8 kB / 0.5494 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1532, allocations: 11.98 kB / 0.5494 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1532, allocations: 8 kB / 0.5494 GB, free: 10.71 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 (25): * Single equations (assignments): 25 * 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.0001602/0.1534, allocations: 169.7 kB / 0.5496 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1534, allocations: 15.91 kB / 0.5496 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.1537, allocations: 151.1 kB / 0.5497 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1537, allocations: 0 / 0.5497 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1537, allocations: 0 / 0.5497 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1537, allocations: 4 kB / 0.5498 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.1547, allocations: 0.6694 MB / 0.5504 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.1547, allocations: 7.969 kB / 0.5504 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1548, allocations: 31.92 kB / 0.5504 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1548, allocations: 4 kB / 0.5504 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1548, allocations: 8 kB / 0.5505 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.1548, allocations: 4 kB / 0.5505 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.1548, allocations: 7.938 kB / 0.5505 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1552, allocations: 342.1 kB / 0.5508 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.1553, allocations: 101 kB / 0.5509 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.1553, allocations: 7.984 kB / 0.5509 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1554, allocations: 8 kB / 0.5509 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1555, allocations: 23.86 kB / 0.5509 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1555, allocations: 11.94 kB / 0.5509 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1556, allocations: 144.3 kB / 0.5511 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1556, allocations: 0 / 0.5511 GB, free: 8.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.156, allocations: 44 kB / 0.5511 GB, free: 8.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0007122/0.1567, allocations: 0.8646 MB / 0.552 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.157, allocations: 144 kB / 0.5521 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.157, allocations: 3.938 kB / 0.5521 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.1571, allocations: 59.8 kB / 0.5522 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1575, allocations: 44.33 kB / 0.5522 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.1604, allocations: 2.424 MB / 0.5546 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.1608, allocations: 0.7632 MB / 0.5553 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.161, allocations: 53.53 kB / 0.5554 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1611, allocations: 55.42 kB / 0.5554 GB, free: 4.035 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1611, allocations: 0 / 0.5554 GB, free: 4.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.1805, allocations: 3.555 MB / 0.5589 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.772, allocations: 6.172 kB / 0.5589 GB, free: 0.5703 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.777859480003826] Failed to read output from testmodel.py, exit status != 0: 8.902081688982435 8.929926905 8.780086509 Calling exit ...