Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.001414/0.001414, allocations: 84.08 kB / 20.68 MB, free: 1.027 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.001494/0.001494, allocations: 171.2 kB / 23.96 MB, free: 4.148 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.51/1.51, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1845/0.1845, allocations: 29.44 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.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.839e-05, allocations: 2.281 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.009737/0.009766, allocations: 4.394 MB / 435.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.01415, allocations: 1.363 MB / 436.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.01454, allocations: 23.81 kB / 436.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.01593, allocations: 286.5 kB / 436.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.01703, allocations: 290.3 kB / 437.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.01821, allocations: 259.2 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.01958, allocations: 0.6779 MB / 438 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.02012, allocations: 208.5 kB / 438.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009847/0.02111, allocations: 406.8 kB / 438.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.02212, allocations: 403 kB / 439 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.02227, allocations: 44 kB / 439 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.02307, allocations: 219.6 kB / 439.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.02351, allocations: 267.3 kB / 439.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.02394, allocations: 199.6 kB / 439.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.02549, allocations: 0.7984 MB / 440.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.0255, allocations: 0 / 440.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0255, allocations: 0 / 440.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.02552, allocations: 0 / 440.5 MB, free: 8.098 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002322/0.02784, allocations: 0.8312 MB / 441.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.02789, allocations: 11.98 kB / 441.3 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.02916, allocations: 132.5 kB / 441.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.03023, allocations: 383.7 kB / 441.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.03028, allocations: 29.36 kB / 441.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.03042, allocations: 40.38 kB / 441.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.0326, allocations: 0.9354 MB / 442.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.03263, allocations: 3.938 kB / 442.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.03273, allocations: 19.98 kB / 442.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.03297, allocations: 60.95 kB / 442.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.03515, allocations: 0.8643 MB / 443.8 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006109/0.04125, allocations: 2.487 MB / 446.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.04268, allocations: 0.5541 MB / 446.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000914/0.04359, allocations: 440.2 kB / 447.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.04364, allocations: 4.25 kB / 447.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.0437, allocations: 42.5 kB / 447.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 3.787e-06/0.0437, allocations: 0 / 447.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.2239/0.2676, allocations: 1.989 MB / 449.3 MB, free: 30.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.2677, allocations: 142.7 kB / 449.4 MB, free: 30.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.2681, allocations: 296.8 kB / 449.7 MB, free: 30.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.2681, allocations: 35.7 kB / 449.8 MB, free: 30.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.2682, allocations: 271.7 kB / 450 MB, free: 29.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.2684, allocations: 191.6 kB / 450.2 MB, free: 29.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.2686, allocations: 98.38 kB / 450.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.2687, allocations: 351.6 kB / 450.7 MB, free: 29.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.2692, allocations: 418.9 kB / 451.1 MB, free: 29.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.2698, allocations: 0.5421 MB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.2709, allocations: 1.021 MB / 452.6 MB, free: 28.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.271, allocations: 1.25 kB / 452.6 MB, free: 28.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001581/0.2725, allocations: 1.076 MB / 453.7 MB, free: 28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.2726, allocations: 72.88 kB / 453.8 MB, free: 27.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2726, allocations: 4.125 kB / 453.8 MB, free: 27.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.2728, allocations: 38.7 kB / 453.8 MB, free: 27.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.2732, allocations: 92.98 kB / 453.9 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.2745, allocations: 1.424 MB / 455.3 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.275, allocations: 29.77 kB / 455.4 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.591e-05/0.275, allocations: 26.95 kB / 455.4 MB, free: 26.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0004766/0.2755, allocations: 298.7 kB / 455.7 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.2757, allocations: 48.11 kB / 455.7 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.2772, allocations: 1.127 MB / 456.9 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.2772, allocations: 11.48 kB / 456.9 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2772, allocations: 5.672 kB / 456.9 MB, free: 25.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2773, allocations: 7.578 kB / 456.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.2797, allocations: 1.704 MB / 458.6 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2797, allocations: 2.516 kB / 458.6 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.28, allocations: 58.58 kB / 458.6 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.2801, allocations: 37.41 kB / 458.7 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.2802, allocations: 13.7 kB / 458.7 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008927/0.2811, allocations: 1.418 MB / 460.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2811, allocations: 1.219 kB / 460.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2827, allocations: 1.231 MB / 461.4 MB, free: 23.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.2829, allocations: 100.5 kB / 461.4 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.283, allocations: 13.44 kB / 461.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.2833, allocations: 30.67 kB / 461.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2834, allocations: 39.81 kB / 461.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/0.2835, allocations: 22.08 kB / 461.6 MB, free: 23.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.2837, allocations: 203.1 kB / 461.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2837, allocations: 0 / 461.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.2843, allocations: 141.7 kB / 461.9 MB, free: 23.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000274/0.2846, allocations: 146.1 kB / 462 MB, free: 23.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.2863, allocations: 1.271 MB / 463.3 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2863, allocations: 1.062 kB / 463.3 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.2872, allocations: 0.7353 MB / 464 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.2878, allocations: 79.16 kB / 464.1 MB, free: 22.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.29, allocations: 1.466 MB / 465.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.2904, allocations: 297.9 kB / 465.9 MB, free: 21.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.2906, allocations: 107 kB / 466 MB, free: 21.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.2907, allocations: 34.06 kB / 466 MB, free: 21.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2907, allocations: 0 / 466 MB, free: 21.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01294/0.3037, allocations: 6.166 MB / 472.2 MB, free: 19.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.183948714286089] Failed to read output from testmodel.py, exit status != 0: 0.3147355765104294 0.32389747599999996 0.295782823 Calling exit ...