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.0008078/0.0008078, 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.003286/0.003286, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8572/0.8572, allocations: 177.1 MB / 205 MB, free: 5.754 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.2211/0.2211, allocations: 29.41 MB / 290.8 MB, free: 2.41 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.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.449e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003296/0.00332, allocations: 3.406 MB / 434.9 MB, free: 9.664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.004726, allocations: 1.387 MB / 436.3 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004841, allocations: 7.938 kB / 436.3 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.005447, allocations: 250.9 kB / 436.5 MB, free: 8.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.005863, allocations: 282.6 kB / 436.8 MB, free: 7.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.006056, allocations: 115.5 kB / 436.9 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.006368, allocations: 339 kB / 437.2 MB, free: 7.293 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.006613, allocations: 118.1 kB / 437.4 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.006871, allocations: 207.3 kB / 437.6 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.007052, allocations: 139.6 kB / 437.7 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.007075, allocations: 16 kB / 437.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.007317, allocations: 271 kB / 438 MB, free: 6.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.007403, allocations: 111.7 kB / 438.1 MB, free: 6.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.007474, allocations: 71.83 kB / 438.1 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.007825, allocations: 351 kB / 438.5 MB, free: 6.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.007831, allocations: 3.984 kB / 438.5 MB, free: 6.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007833, allocations: 0 / 438.5 MB, free: 6.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.007838, allocations: 7.938 kB / 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.0005731/0.008411, allocations: 445 kB / 438.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.008457, allocations: 19.97 kB / 439 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.008915, allocations: 88.7 kB / 439 MB, free: 5.453 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.009167, allocations: 209.9 kB / 439.2 MB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.009184, allocations: 16.31 kB / 439.3 MB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.00922, allocations: 20.38 kB / 439.3 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.009553, allocations: 315.3 kB / 439.6 MB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.009569, allocations: 3.938 kB / 439.6 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.009587, allocations: 8 kB / 439.6 MB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.009614, allocations: 19.98 kB / 439.6 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.009889, allocations: 287.7 kB / 439.9 MB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.01089, allocations: 1.166 MB / 441.1 MB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.01128, allocations: 201.2 kB / 441.3 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.01134, allocations: 53.77 kB / 441.3 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.01137, allocations: 0 / 441.3 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.01139, allocations: 34.78 kB / 441.4 MB, free: 2.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.01139, allocations: 0 / 441.4 MB, free: 2.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007495/0.01214, allocations: 373.4 kB / 441.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.0122, allocations: 77.11 kB / 441.8 MB, free: 2.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.01234, allocations: 195.4 kB / 442 MB, free: 2.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01236, allocations: 29.7 kB / 442 MB, free: 2.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.01246, allocations: 168.1 kB / 442.2 MB, free: 2.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.01249, allocations: 47.59 kB / 442.2 MB, free: 2.055 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.01254, allocations: 45.7 kB / 442.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.01265, allocations: 322.8 kB / 442.6 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.01272, allocations: 60.09 kB / 442.6 MB, free: 1.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.01283, allocations: 148.8 kB / 442.8 MB, free: 1.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01304, allocations: 228.6 kB / 443 MB, free: 1.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01304, allocations: 0 / 443 MB, free: 1.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002965/0.01334, allocations: 262.3 kB / 443.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01335, allocations: 4 kB / 443.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01336, allocations: 7.984 kB / 443.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.01356, allocations: 48.83 kB / 443.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.01365, allocations: 39.92 kB / 443.4 MB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1975/0.2111, allocations: 1.306 MB / 444.7 MB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2113, allocations: 9.109 kB / 444.7 MB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2113, allocations: 11.62 kB / 444.7 MB, free: 53.43 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 (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.000122/0.2114, allocations: 156.4 kB / 444.8 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2114, allocations: 24.45 kB / 444.9 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.2117, allocations: 190.8 kB / 445.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2117, allocations: 3.188 kB / 445.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2117, allocations: 4.453 kB / 445.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2117, allocations: 3.188 kB / 445.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.2121, allocations: 485.7 kB / 445.5 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2121, allocations: 2.188 kB / 445.5 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.2122, allocations: 22.8 kB / 445.6 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-05/0.2123, allocations: 32.66 kB / 445.6 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2123, allocations: 7.125 kB / 445.6 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004086/0.2127, allocations: 1.3 MB / 446.9 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2127, allocations: 3.047 kB / 446.9 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.2129, allocations: 300.8 kB / 447.2 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.2129, allocations: 16.19 kB / 447.2 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.2129, allocations: 5.562 kB / 447.2 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.2129, allocations: 7.25 kB / 447.2 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.213, allocations: 9.312 kB / 447.2 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.213, allocations: 9.531 kB / 447.2 MB, free: 51.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.077e-05/0.213, allocations: 138.8 kB / 447.4 MB, free: 51.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.213, allocations: 0 / 447.4 MB, free: 51.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.2132, allocations: 52.22 kB / 447.4 MB, free: 51.57 MB / 410.7 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 8.03e-05/0.2133, allocations: 99.12 kB / 447.5 MB, free: 51.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.2136, allocations: 260.5 kB / 447.8 MB, free: 51.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2136, allocations: 2.297 kB / 447.8 MB, free: 51.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.2137, allocations: 168.6 kB / 448 MB, free: 51.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.214, allocations: 32.55 kB / 448 MB, free: 51.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.2144, allocations: 480.8 kB / 448.5 MB, free: 50.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.2145, allocations: 143.4 kB / 448.6 MB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.2146, allocations: 25.27 kB / 448.6 MB, free: 50.82 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2146, allocations: 0 / 448.6 MB, free: 50.82 MB / 410.7 MB Notification: Performance of Templates: time 0.003066/0.2176, allocations: 3.248 MB / 451.9 MB, free: 50.63 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.093027299270034] Failed to read output from testmodel.py, exit status != 0: 0.2229627352207899 0.22869599200000001 0.219510895 Calling exit ...