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.000764/0.000764, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002941/0.002941, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8833/0.8833, allocations: 177.1 MB / 205 MB, free: 5.723 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.2508/0.2508, allocations: 29.41 MB / 290.8 MB, free: 2.434 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: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.366e-05, allocations: 5.938 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003185/0.003209, allocations: 3.403 MB / 434.9 MB, free: 9.664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.00463, allocations: 1.379 MB / 436.3 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.004742, allocations: 11.94 kB / 436.3 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005586/0.005301, allocations: 254.8 kB / 436.5 MB, free: 8.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.005739, allocations: 278.6 kB / 436.8 MB, free: 7.742 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.005948, allocations: 115.5 kB / 436.9 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.006256, allocations: 346.9 kB / 437.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.006489, allocations: 118.1 kB / 437.3 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.006754, allocations: 207.3 kB / 437.6 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.006941, allocations: 147.6 kB / 437.7 MB, free: 6.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.006961, allocations: 12 kB / 437.7 MB, free: 6.816 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.007272, allocations: 275 kB / 438 MB, free: 6.547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.007359, allocations: 99.77 kB / 438.1 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.793e-05/0.007427, allocations: 79.75 kB / 438.2 MB, free: 6.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.007769, allocations: 355 kB / 438.5 MB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007771, allocations: 0 / 438.5 MB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.007772, allocations: 0 / 438.5 MB, free: 6.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007777, allocations: 0 / 438.5 MB, free: 6.023 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.0004997/0.008276, allocations: 456.9 kB / 438.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.008309, allocations: 11.98 kB / 439 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004496/0.008758, allocations: 92.69 kB / 439 MB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.009022, allocations: 209.9 kB / 439.3 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.009038, allocations: 16.36 kB / 439.3 MB, free: 5.199 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.009073, allocations: 16.38 kB / 439.3 MB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.009419, allocations: 311.3 kB / 439.6 MB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.009434, allocations: 3.938 kB / 439.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.009454, allocations: 11.98 kB / 439.6 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.009483, allocations: 15.98 kB / 439.6 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.009772, allocations: 291.7 kB / 439.9 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.01077, allocations: 1.159 MB / 441.1 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.01102, allocations: 161.1 kB / 441.2 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.01108, allocations: 53.69 kB / 441.3 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.0111, allocations: 4 kB / 441.3 MB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.01112, allocations: 38.56 kB / 441.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.01112, allocations: 0 / 441.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004341/0.01155, allocations: 292.8 kB / 441.6 MB, free: 2.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.0116, allocations: 81.11 kB / 441.7 MB, free: 2.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.01171, allocations: 187.5 kB / 441.9 MB, free: 2.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.01172, allocations: 29.7 kB / 441.9 MB, free: 2.391 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.01179, allocations: 168.1 kB / 442.1 MB, free: 2.223 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.01182, allocations: 47.59 kB / 442.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.01186, allocations: 45.7 kB / 442.1 MB, free: 2.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.01195, allocations: 330.8 kB / 442.5 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.012, allocations: 48.17 kB / 442.5 MB, free: 1.746 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.0121, allocations: 148.8 kB / 442.7 MB, free: 1.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.01228, allocations: 216.7 kB / 442.9 MB, free: 1.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01229, allocations: 4 kB / 442.9 MB, free: 1.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002112/0.0125, allocations: 221.6 kB / 443.1 MB, free: 1.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01251, allocations: 4 kB / 443.1 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01252, allocations: 4 kB / 443.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01253, allocations: 7.938 kB / 443.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.01263, allocations: 51.91 kB / 443.2 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01264, allocations: 11.88 kB / 443.2 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.01269, allocations: 4 kB / 443.2 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.0127, allocations: 16 kB / 443.2 MB, free: 0.9727 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 9.777e-05/0.0128, allocations: 157.7 kB / 443.3 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.01282, allocations: 19.95 kB / 443.4 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.01301, allocations: 155.1 kB / 443.5 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01302, allocations: 7.938 kB / 443.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.01302, allocations: 0 / 443.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01303, allocations: 0 / 443.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1579/0.171, allocations: 0.5822 MB / 444.1 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.171, allocations: 3.188 kB / 444.1 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.1711, allocations: 32.44 kB / 444.1 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1711, allocations: 3 kB / 444.1 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1711, allocations: 8.75 kB / 444.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1711, allocations: 8.938 kB / 444.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1711, allocations: 3.219 kB / 444.2 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1713, allocations: 332.6 kB / 444.5 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.1713, allocations: 18.97 kB / 444.5 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1714, allocations: 8.031 kB / 444.5 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.1714, allocations: 9.953 kB / 444.5 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.1715, allocations: 23.08 kB / 444.5 MB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1715, allocations: 7.25 kB / 444.6 MB, free: 53.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.294e-05/0.1715, allocations: 137.4 kB / 444.7 MB, free: 53.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1715, allocations: 0 / 444.7 MB, free: 53.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.1718, allocations: 42.88 kB / 444.7 MB, free: 53.79 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 8.558e-05/0.1719, allocations: 103.4 kB / 444.8 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.172, allocations: 148 kB / 445 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1721, allocations: 0 / 445 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.1721, allocations: 61.16 kB / 445 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1724, allocations: 47.52 kB / 445.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.1729, allocations: 0.505 MB / 445.6 MB, free: 53.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.054e-05/0.173, allocations: 150.8 kB / 445.7 MB, free: 53.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.173, allocations: 24.78 kB / 445.8 MB, free: 53.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.173, allocations: 0 / 445.8 MB, free: 53.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002319/0.1753, allocations: 2.357 MB / 448.1 MB, free: 53.19 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.933977857232094] Failed to read output from testmodel.py, exit status != 0: 0.1804493796080351 0.18646130200000002 0.17730794400000002 Calling exit ...