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.000825/0.000825, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009129/0.0009129, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9921/0.9921, allocations: 177.1 MB / 205 MB, free: 5.613 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.2441/0.2441, allocations: 29.42 MB / 290.9 MB, free: 2.512 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.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 4.278e-06/4.278e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.811e-05, allocations: 5.547 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005169/0.005197, allocations: 4.365 MB / 374 MB, free: 6.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.007641, allocations: 1.402 MB / 375.4 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.007844, allocations: 19.81 kB / 375.4 MB, free: 5.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.008375, allocations: 163 kB / 375.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.008874, allocations: 290.3 kB / 375.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.009445, allocations: 263.2 kB / 376.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.01007, allocations: 0.674 MB / 376.8 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007251/0.0108, allocations: 208.5 kB / 377 MB, free: 3.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005519/0.01135, allocations: 414.9 kB / 377.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.01181, allocations: 395.1 kB / 377.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.01188, allocations: 51.92 kB / 377.8 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.01222, allocations: 215.6 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.01245, allocations: 259.3 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.01265, allocations: 207.5 kB / 378.5 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.01334, allocations: 0.6113 MB / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01334, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01334, allocations: 0 / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.01334, allocations: 0 / 379.1 MB, free: 1.453 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001138/0.01448, allocations: 0.9162 MB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.01452, allocations: 11.98 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.01513, allocations: 184.3 kB / 380.2 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.01562, allocations: 381.6 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.01565, allocations: 29.38 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.01572, allocations: 40.36 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.01654, allocations: 0.6651 MB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.01656, allocations: 11.89 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.0166, allocations: 16 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.01671, allocations: 60.95 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.01737, allocations: 471.3 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.02017, allocations: 2.733 MB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.02073, allocations: 388.4 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.02104, allocations: 274 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.02107, allocations: 12 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.0211, allocations: 41.38 kB / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.953e-06/0.0211, allocations: 0 / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001942/0.02304, allocations: 1.418 MB / 386.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.02311, allocations: 130.8 kB / 386.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.02337, allocations: 346.2 kB / 387.2 MB, free: 8.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.0234, allocations: 37.83 kB / 387.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.02352, allocations: 311.7 kB / 387.5 MB, free: 8.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.02362, allocations: 194.3 kB / 387.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.02372, allocations: 111.8 kB / 387.8 MB, free: 8.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.02386, allocations: 0.5274 MB / 388.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.02407, allocations: 250.8 kB / 388.6 MB, free: 7.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.02436, allocations: 453.5 kB / 389.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.02491, allocations: 0.7256 MB / 389.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02491, allocations: 0 / 389.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000716/0.02562, allocations: 0.7806 MB / 390.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.02567, allocations: 73.66 kB / 390.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.02568, allocations: 4 kB / 390.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.02582, allocations: 35.61 kB / 390.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.02601, allocations: 83.88 kB / 390.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009165/0.02692, allocations: 1.807 MB / 392.6 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.02708, allocations: 32.03 kB / 392.6 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.02713, allocations: 31.97 kB / 392.6 MB, free: 3.184 MB / 362.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.0001612/0.02729, allocations: 258 kB / 392.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.02737, allocations: 67.8 kB / 392.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/0.02809, allocations: 0.7751 MB / 393.7 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.02811, allocations: 12 kB / 393.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.02811, allocations: 0 / 393.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02811, allocations: 4 kB / 393.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.02942, allocations: 1.336 MB / 395.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.02942, allocations: 0 / 395.1 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.02955, allocations: 55.89 kB / 395.1 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-05/0.02962, allocations: 31.67 kB / 395.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.02965, allocations: 19.92 kB / 395.2 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007105/0.03036, allocations: 1.807 MB / 397 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.03036, allocations: 0 / 397 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.03137, allocations: 0.9454 MB / 397.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.03147, allocations: 87.72 kB / 398 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.03151, allocations: 27.92 kB / 398 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.03164, allocations: 23.97 kB / 398.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.03173, allocations: 40.08 kB / 398.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.03176, allocations: 19.98 kB / 398.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.03187, allocations: 223 kB / 398.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03188, allocations: 0 / 398.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.0322, allocations: 147.9 kB / 398.5 MB, free: 13.03 MB / 378.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.000173/0.03237, allocations: 151 kB / 398.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.03317, allocations: 0.9617 MB / 399.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.03317, allocations: 3.938 kB / 399.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.03358, allocations: 0.6214 MB / 400.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.0339, allocations: 88.34 kB / 400.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.03537, allocations: 1.223 MB / 401.5 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.03547, allocations: 165.7 kB / 401.7 MB, free: 9.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.03562, allocations: 75.19 kB / 401.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.03568, allocations: 28.5 kB / 401.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03568, allocations: 0 / 401.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of Templates: time 0.008612/0.0443, allocations: 6.538 MB / 408.3 MB, free: 3.094 MB / 378.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: 3.0699015129357576]