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.000667/0.000667, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000826/0.001493, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006802/0.0006802, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008236/0.001504, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8861/0.8861, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07534/0.9614, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.1108/0.1108, allocations: 29.42 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.117/0.2279, allocations: 9.52 MB / 282.9 MB, free: 12.84 MB / 282.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.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.452e-06/1.452e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.257e-05, allocations: 5 kB / 284.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.004856/0.004868, allocations: 4.428 MB / 288.6 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.006491, allocations: 1.433 MB / 290.1 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.006637, allocations: 20.75 kB / 290.1 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.006981, allocations: 180 kB / 290.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.007315, allocations: 288.1 kB / 290.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.007733, allocations: 263.8 kB / 290.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.008246, allocations: 0.6938 MB / 291.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.008496, allocations: 202.4 kB / 291.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.008944, allocations: 448.6 kB / 292.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.00931, allocations: 387.7 kB / 292.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.009369, allocations: 43.25 kB / 292.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.009692, allocations: 219.8 kB / 292.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.009885, allocations: 251.9 kB / 293 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.01006, allocations: 157.2 kB / 293.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.01058, allocations: 0.5411 MB / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.01059, allocations: 0 / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01059, allocations: 0 / 293.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.0106, allocations: 4 kB / 293.7 MB, free: 5.242 MB / 282.7 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.0008889/0.01149, allocations: 0.8691 MB / 294.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.01152, allocations: 12.03 kB / 294.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/0.01197, allocations: 209.9 kB / 294.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.01233, allocations: 356.1 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.01235, allocations: 29.36 kB / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.01241, allocations: 40.36 kB / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.0129, allocations: 0.571 MB / 295.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.01291, allocations: 3.938 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.01294, allocations: 16 kB / 295.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.006e-05/0.01301, allocations: 52.97 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.01336, allocations: 363.2 kB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.01497, allocations: 2.055 MB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.0153, allocations: 349.9 kB / 298.6 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.01546, allocations: 204.3 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.01548, allocations: 4 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.0155, allocations: 38.56 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.683e-06/0.0155, allocations: 0 / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001074/0.01658, allocations: 1.015 MB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.01661, allocations: 85.09 kB / 300 MB, free: 14.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.01674, allocations: 274.8 kB / 300.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01677, allocations: 33.7 kB / 300.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.01685, allocations: 237.4 kB / 300.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/0.01694, allocations: 190.3 kB / 300.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.01703, allocations: 102.2 kB / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.01711, allocations: 350.7 kB / 301.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.01726, allocations: 193.6 kB / 301.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.01746, allocations: 323.8 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.01783, allocations: 0.5536 MB / 302.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.01783, allocations: 7.938 kB / 302.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004856/0.01832, allocations: 0.5861 MB / 302.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.01837, allocations: 69.66 kB / 302.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01838, allocations: 8.562 kB / 302.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000103/0.01848, allocations: 31.67 kB / 302.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.0187, allocations: 95.83 kB / 303 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006104/0.01931, allocations: 1.263 MB / 304.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.01944, allocations: 16 kB / 304.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.01948, allocations: 20 kB / 304.3 MB, free: 10.04 MB / 298.7 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.000154/0.01963, allocations: 220.3 kB / 304.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.0197, allocations: 43.97 kB / 304.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.02019, allocations: 0.5857 MB / 305.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.02021, allocations: 15.98 kB / 305.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.02021, allocations: 0 / 305.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.02022, allocations: 0 / 305.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008512/0.02107, allocations: 1.009 MB / 306.1 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.02107, allocations: 3.984 kB / 306.1 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.02122, allocations: 58.22 kB / 306.2 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.02131, allocations: 71.69 kB / 306.3 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-05/0.02137, allocations: 31.61 kB / 306.3 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.0214, allocations: 19.92 kB / 306.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/0.02197, allocations: 1.26 MB / 307.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.02198, allocations: 11.92 kB / 307.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.02251, allocations: 0.7368 MB / 308.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.02255, allocations: 16 kB / 308.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.02266, allocations: 8 kB / 308.4 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.02273, allocations: 39.88 kB / 308.4 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.02275, allocations: 19.98 kB / 308.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.422e-05/0.02282, allocations: 92.62 kB / 308.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02282, allocations: 4.031 kB / 308.5 MB, free: 5.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.02311, allocations: 147.9 kB / 308.6 MB, free: 5.414 MB / 298.7 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.0001525/0.02326, allocations: 120.3 kB / 308.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.02386, allocations: 0.7567 MB / 309.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.02388, allocations: 7.938 kB / 309.5 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.02421, allocations: 0.5018 MB / 310 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.02449, allocations: 114.3 kB / 310.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.03044, allocations: 1.223 MB / 311.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.678e-05/0.03054, allocations: 165.7 kB / 311.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.03065, allocations: 43.31 kB / 311.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.03088, allocations: 151.2 kB / 311.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03088, allocations: 0 / 311.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of Templates: time 0.007655/0.03853, allocations: 6.769 MB / 318.5 MB, free: 11.52 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6617158260196447]