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.001113/0.001113, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001081/0.001081, allocations: 174.6 kB / 24.82 MB, free: 9.309 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.9901/0.9901, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2346/0.2346, allocations: 29.41 MB / 291.2 MB, free: 2.461 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.633e-06/1.633e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.491e-05, allocations: 2.312 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003701/0.003726, allocations: 3.46 MB / 373.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.005208, allocations: 1.141 MB / 374.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.005369, allocations: 11.94 kB / 374.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.005907, allocations: 203.1 kB / 374.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.006422, allocations: 286.5 kB / 375.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.006671, allocations: 115.5 kB / 375.3 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.007001, allocations: 331 kB / 375.6 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.007219, allocations: 110.1 kB / 375.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.007527, allocations: 207.3 kB / 375.9 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.007755, allocations: 147.6 kB / 376.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.007776, allocations: 12 kB / 376.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.008139, allocations: 279.1 kB / 376.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.008254, allocations: 99.78 kB / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.008329, allocations: 75.77 kB / 376.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.008744, allocations: 303.1 kB / 376.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.008748, allocations: 0 / 376.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.008749, allocations: 0 / 376.8 MB, free: 3.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.008755, allocations: 0 / 376.8 MB, free: 3.973 MB / 346.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.0006026/0.009358, allocations: 0.5461 MB / 377.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.009406, allocations: 15.98 kB / 377.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.009891, allocations: 112.6 kB / 377.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.01013, allocations: 212 kB / 377.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.01015, allocations: 12.38 kB / 377.7 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.01017, allocations: 16.38 kB / 377.7 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.01039, allocations: 220.2 kB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01041, allocations: 7.922 kB / 378 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.01042, allocations: 8 kB / 378 MB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.01045, allocations: 20 kB / 378 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.01056, allocations: 91.83 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.01152, allocations: 1.258 MB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.01172, allocations: 130.1 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.01176, allocations: 39.42 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.01178, allocations: 4 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.01181, allocations: 41.33 kB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.296e-06/0.01181, allocations: 0 / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003577/0.01217, allocations: 165.1 kB / 379.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.01222, allocations: 85.05 kB / 379.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.01235, allocations: 238.5 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.01236, allocations: 25.7 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.01246, allocations: 218.8 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.01249, allocations: 47.75 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.01254, allocations: 63.23 kB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01268, allocations: 0.4962 MB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.01271, allocations: 15.98 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.55e-05/0.0128, allocations: 167.1 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.01295, allocations: 207.1 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01296, allocations: 0 / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000182/0.01314, allocations: 177.3 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01315, allocations: 4 kB / 381.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.01316, allocations: 7.938 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01317, allocations: 7.984 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.01326, allocations: 47.91 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01327, allocations: 7.938 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.01332, allocations: 8 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01333, allocations: 12.39 kB / 381.5 MB, free: 14.87 MB / 362.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.106e-05/0.01341, allocations: 176.5 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.01343, allocations: 19.91 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.01356, allocations: 99.12 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01357, allocations: 4 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01357, allocations: 3.938 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01357, allocations: 0 / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.014, allocations: 0.5443 MB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01401, allocations: 4 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.01405, allocations: 23.98 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01406, allocations: 4 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01406, allocations: 8 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01407, allocations: 8 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.01407, allocations: 8 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.01428, allocations: 391.6 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.0143, allocations: 19.91 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.01432, allocations: 4 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.01438, allocations: 8 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.0144, allocations: 27.84 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01441, allocations: 8 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.01447, allocations: 157.1 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01447, allocations: 0 / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.01468, allocations: 44 kB / 383 MB, free: 13.15 MB / 362.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 9.703e-05/0.01478, allocations: 107.2 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01493, allocations: 103.4 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01493, allocations: 0 / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.01498, allocations: 57.11 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01528, allocations: 42.95 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.01619, allocations: 0.5044 MB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.01625, allocations: 95.95 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.01631, allocations: 13.64 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.01638, allocations: 98.19 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01638, allocations: 0 / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Templates: time 0.003125/0.01951, allocations: 1.341 MB / 385.4 MB, free: 10.7 MB / 362.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8344474458135664]