Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001679/0.001679, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002035/0.002035, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.522/1.522, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.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.1808/0.1808, allocations: 29.42 MB / 290.1 MB, free: 3.266 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.266e-05, allocations: 6.219 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006085/0.006108, allocations: 4.46 MB / 435.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.008692, allocations: 1.414 MB / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.008869, allocations: 19.81 kB / 436.6 MB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.01006, allocations: 378.3 kB / 437 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.01058, allocations: 246.5 kB / 437.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.0113, allocations: 271.1 kB / 437.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006522/0.01196, allocations: 0.5688 MB / 438.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.01236, allocations: 242.8 kB / 438.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.01287, allocations: 354.9 kB / 438.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.01334, allocations: 303.2 kB / 438.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.907e-05/0.01341, allocations: 32 kB / 439 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.01374, allocations: 151.7 kB / 439.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.014, allocations: 243.4 kB / 439.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.01424, allocations: 167.6 kB / 439.5 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.01505, allocations: 0.6152 MB / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01505, allocations: 0 / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01505, allocations: 0 / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.01506, allocations: 0 / 440.1 MB, free: 8.465 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001366/0.01642, allocations: 0.709 MB / 440.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01646, allocations: 11.98 kB / 440.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.01726, allocations: 124.5 kB / 441 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.01795, allocations: 351.9 kB / 441.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.01799, allocations: 41.34 kB / 441.4 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.01814, allocations: 48.69 kB / 441.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.01925, allocations: 0.6451 MB / 442.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.01928, allocations: 11.94 kB / 442.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.01934, allocations: 27.91 kB / 442.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.01946, allocations: 28.98 kB / 442.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/0.02029, allocations: 479.5 kB / 442.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.02397, allocations: 2.78 MB / 445.4 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.0243, allocations: 169 kB / 445.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.02448, allocations: 101.7 kB / 445.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.02451, allocations: 4 kB / 445.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.02455, allocations: 38.5 kB / 445.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.02455, allocations: 4 kB / 445.7 MB, free: 2.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001494/0.02605, allocations: 0.7723 MB / 446.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.02611, allocations: 81.11 kB / 446.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.02651, allocations: 361.4 kB / 446.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.02655, allocations: 29.7 kB / 446.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.02681, allocations: 307.8 kB / 447.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.02688, allocations: 79.38 kB / 447.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02702, allocations: 82.14 kB / 447.4 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.02719, allocations: 350.8 kB / 447.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.02741, allocations: 133 kB / 447.8 MB, free: 392 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2137/0.2411, allocations: 330 kB / 448.2 MB, free: 29.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.2418, allocations: 0.4895 MB / 448.7 MB, free: 29.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.2418, allocations: 1.281 kB / 448.7 MB, free: 29.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001141/0.2429, allocations: 0.5571 MB / 449.2 MB, free: 29.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.243, allocations: 12.41 kB / 449.2 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006014/0.2436, allocations: 270.1 kB / 449.5 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.244, allocations: 84.59 kB / 449.6 MB, free: 29.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.2444, allocations: 92.08 kB / 449.7 MB, free: 29.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.2458, allocations: 1.594 MB / 451.3 MB, free: 28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.2461, allocations: 20.47 kB / 451.3 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.2461, allocations: 23.5 kB / 451.3 MB, free: 27.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.2463, allocations: 218.9 kB / 451.5 MB, free: 27.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.2464, allocations: 34 kB / 451.5 MB, free: 27.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.2469, allocations: 285.8 kB / 451.8 MB, free: 27.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2469, allocations: 14.58 kB / 451.8 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2469, allocations: 0 / 451.8 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2469, allocations: 2.812 kB / 451.8 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.248, allocations: 0.6697 MB / 452.5 MB, free: 27.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.248, allocations: 1 kB / 452.5 MB, free: 27.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.2483, allocations: 50.38 kB / 452.6 MB, free: 27.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.2483, allocations: 8.188 kB / 452.6 MB, free: 27.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2483, allocations: 8.75 kB / 452.6 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2483, allocations: 6.531 kB / 452.6 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2483, allocations: 8.531 kB / 452.6 MB, free: 27.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.2489, allocations: 471.2 kB / 453.1 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.2489, allocations: 37.62 kB / 453.1 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.249, allocations: 7.516 kB / 453.1 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2492, allocations: 11.03 kB / 453.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.2492, allocations: 21.08 kB / 453.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2492, allocations: 6.984 kB / 453.1 MB, free: 27.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.2494, allocations: 235.9 kB / 453.4 MB, free: 26.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2494, allocations: 0 / 453.4 MB, free: 26.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.2499, allocations: 93.19 kB / 453.5 MB, free: 26.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.0001085/0.25, allocations: 101 kB / 453.6 MB, free: 26.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007376/0.2508, allocations: 442.6 kB / 454 MB, free: 26.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2508, allocations: 0 / 454 MB, free: 26.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.2509, allocations: 104.8 kB / 454.1 MB, free: 26.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.2515, allocations: 58.44 kB / 454.1 MB, free: 26.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2529, allocations: 0.915 MB / 455.1 MB, free: 26.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2532, allocations: 263 kB / 455.3 MB, free: 25.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.2535, allocations: 115.6 kB / 455.4 MB, free: 25.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.2536, allocations: 28.64 kB / 455.5 MB, free: 25.93 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2536, allocations: 1.375 kB / 455.5 MB, free: 25.93 MB / 366.1 MB Notification: Performance of Templates: time 0.009519/0.2631, allocations: 3.56 MB / 459 MB, free: 25.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.950115542858839] Failed to read output from testmodel.py, exit status != 0: 0.2720872610807419 0.28507313500000003 0.267462714 Calling exit ...