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.0007911/0.0007911, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008352/0.0008352, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8781/0.8781, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2081/0.2081, allocations: 29.4 MB / 290.1 MB, free: 2.449 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.555e-05, allocations: 5.938 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003507/0.003522, allocations: 3.407 MB / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004925, allocations: 1.383 MB / 435 MB, free: 8.789 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.005034, allocations: 11.94 kB / 435 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.005567, allocations: 247 kB / 435.2 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004098/0.005977, allocations: 290.5 kB / 435.5 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.006159, allocations: 107.5 kB / 435.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.006433, allocations: 350.9 kB / 436 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.006645, allocations: 106.1 kB / 436.1 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.006879, allocations: 207.3 kB / 436.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.007049, allocations: 151.5 kB / 436.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.007067, allocations: 16 kB / 436.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.007338, allocations: 275 kB / 436.7 MB, free: 7.062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.007434, allocations: 107.7 kB / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.0075, allocations: 67.84 kB / 436.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.007835, allocations: 359 kB / 437.2 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007837, allocations: 3.938 kB / 437.2 MB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007838, allocations: 0 / 437.2 MB, free: 6.535 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.007843, allocations: 0 / 437.2 MB, free: 6.535 MB / 410.7 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.0006427/0.008486, allocations: 449 kB / 437.7 MB, free: 6.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.008534, allocations: 11.98 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.008584, allocations: 66.7 kB / 437.8 MB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/0.009017, allocations: 92.69 kB / 437.8 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.009241, allocations: 206 kB / 438 MB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.009254, allocations: 12.36 kB / 438.1 MB, free: 5.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.009284, allocations: 20.31 kB / 438.1 MB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.009623, allocations: 311.1 kB / 438.4 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.009638, allocations: 8 kB / 438.4 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.009656, allocations: 11.98 kB / 438.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.009682, allocations: 15.98 kB / 438.4 MB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.009944, allocations: 287.7 kB / 438.7 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009753/0.01092, allocations: 1.209 MB / 439.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.01116, allocations: 153.2 kB / 440.1 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.01121, allocations: 57.75 kB / 440.1 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.01123, allocations: 0 / 440.1 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.01124, allocations: 34.56 kB / 440.1 MB, free: 3.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.01124, allocations: 0 / 440.1 MB, free: 3.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004184/0.01166, allocations: 292.7 kB / 440.4 MB, free: 3.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.0117, allocations: 77.11 kB / 440.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.01182, allocations: 206.2 kB / 440.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.01184, allocations: 25.7 kB / 440.7 MB, free: 2.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.01191, allocations: 168 kB / 440.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.01193, allocations: 55.7 kB / 441 MB, free: 2.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.01198, allocations: 41.7 kB / 441 MB, free: 2.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.01205, allocations: 326.8 kB / 441.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.01209, allocations: 43.97 kB / 441.4 MB, free: 2.141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.01218, allocations: 144.8 kB / 441.5 MB, free: 1.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.01237, allocations: 221.2 kB / 441.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01237, allocations: 0 / 441.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001914/0.01256, allocations: 233.2 kB / 441.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01258, allocations: 14.91 kB / 442 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.01259, allocations: 8 kB / 442 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.0126, allocations: 4 kB / 442 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.01268, allocations: 39.92 kB / 442 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01269, allocations: 11.98 kB / 442 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.01274, allocations: 8.438 kB / 442 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01275, allocations: 8 kB / 442 MB, free: 1.367 MB / 410.7 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 8.556e-05/0.01284, allocations: 161.8 kB / 442.2 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.01286, allocations: 23.78 kB / 442.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.01302, allocations: 158.1 kB / 442.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01302, allocations: 0 / 442.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01302, allocations: 4 kB / 442.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01303, allocations: 3.984 kB / 442.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.01351, allocations: 0.629 MB / 443 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01352, allocations: 7.984 kB / 443 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.01356, allocations: 23.94 kB / 443 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01357, allocations: 7.984 kB / 443 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01357, allocations: 8 kB / 443.1 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.01358, allocations: 7.938 kB / 443.1 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01358, allocations: 4 kB / 443.1 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.162/0.1756, allocations: 330.1 kB / 443.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.1756, allocations: 17.95 kB / 443.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1756, allocations: 8.625 kB / 443.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1757, allocations: 12.12 kB / 443.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1758, allocations: 16.55 kB / 443.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1758, allocations: 12.03 kB / 443.5 MB, free: 53.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.326e-05/0.1758, allocations: 139.7 kB / 443.6 MB, free: 53.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1758, allocations: 0 / 443.6 MB, free: 53.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00025/0.1761, allocations: 44.66 kB / 443.6 MB, free: 53.83 MB / 410.7 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.000282/0.1764, allocations: 0.865 MB / 444.5 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1765, allocations: 144.1 kB / 444.6 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1765, allocations: 3.156 kB / 444.6 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.1766, allocations: 65 kB / 444.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1769, allocations: 35.08 kB / 444.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1782, allocations: 2.386 MB / 447.1 MB, free: 51.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.102e-05/0.1783, allocations: 149.9 kB / 447.3 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.1784, allocations: 47.56 kB / 447.3 MB, free: 51.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.1785, allocations: 63.42 kB / 447.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1785, allocations: 0 / 447.4 MB, free: 51.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.1918, allocations: 4.188 MB / 451.6 MB, free: 50.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.651, allocations: 7.484 kB / 451.6 MB, free: 50.17 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.41576852183789] Failed to read output from testmodel.py, exit status != 0: 6.730156121775508 6.737784625 6.72840964 Calling exit ...