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.001497/0.001497, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001834/0.001834, allocations: 168.8 kB / 24.91 MB, free: 9.156 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2545/0.2545, allocations: 29.42 MB / 291.2 MB, free: 2.484 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 1.543e-06/1.543e-06, allocations: 0 / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.336e-05, allocations: 2.312 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00437/0.004393, allocations: 4.35 MB / 321.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.006221, allocations: 1.41 MB / 322.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.006393, allocations: 19.81 kB / 322.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.00688, allocations: 163 kB / 322.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.007287, allocations: 294.3 kB / 323.1 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.007793, allocations: 267.2 kB / 323.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.008343, allocations: 0.6701 MB / 324 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.008639, allocations: 223.2 kB / 324.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005047/0.009144, allocations: 430.8 kB / 324.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.009557, allocations: 371.1 kB / 325 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.009612, allocations: 44 kB / 325 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.009967, allocations: 227.5 kB / 325.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.01015, allocations: 255.4 kB / 325.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.01031, allocations: 207.5 kB / 325.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005562/0.01087, allocations: 0.6152 MB / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.01087, allocations: 0 / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01087, allocations: 0 / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.01088, allocations: 4 kB / 326.3 MB, free: 6.465 MB / 298.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.0008602/0.01174, allocations: 0.7403 MB / 327.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01178, allocations: 15.98 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/0.01225, allocations: 140.7 kB / 327.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.01264, allocations: 344 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.01266, allocations: 33.38 kB / 327.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.01272, allocations: 44.36 kB / 327.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.01323, allocations: 0.5554 MB / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01325, allocations: 7.938 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01328, allocations: 16 kB / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.401e-05/0.01336, allocations: 52.97 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.01372, allocations: 343.2 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.0155, allocations: 2.083 MB / 330.7 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.01592, allocations: 333.9 kB / 331 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.0161, allocations: 188.4 kB / 331.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.01612, allocations: 4 kB / 331.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.01615, allocations: 38.56 kB / 331.2 MB, free: 1.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.494e-06/0.01615, allocations: 0 / 331.2 MB, free: 1.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.001133/0.01728, allocations: 0.9642 MB / 332.2 MB, free: 296 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.01735, allocations: 138.8 kB / 332.3 MB, free: 132 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.01751, allocations: 270.9 kB / 332.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.01754, allocations: 33.7 kB / 332.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.01764, allocations: 237.4 kB / 332.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.01773, allocations: 198.3 kB / 333.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.01783, allocations: 94.08 kB / 333.1 MB, free: 15.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.01792, allocations: 350.7 kB / 333.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.01806, allocations: 177.6 kB / 333.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.01826, allocations: 315.9 kB / 334 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.01862, allocations: 0.5341 MB / 334.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01862, allocations: 7.875 kB / 334.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004973/0.01912, allocations: 0.5743 MB / 335.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.01917, allocations: 65.67 kB / 335.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.01918, allocations: 7.984 kB / 335.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.0193, allocations: 36.23 kB / 335.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01947, allocations: 79.84 kB / 335.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007555/0.02023, allocations: 1.26 MB / 336.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.02037, allocations: 19.98 kB / 336.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.0204, allocations: 20 kB / 336.6 MB, free: 11.57 MB / 314.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.0001828/0.02059, allocations: 210.2 kB / 336.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.02067, allocations: 51.92 kB / 336.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.02116, allocations: 0.5662 MB / 337.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.02118, allocations: 8 kB / 337.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.02118, allocations: 0 / 337.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.02118, allocations: 7.984 kB / 337.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.02204, allocations: 0.9778 MB / 338.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.02205, allocations: 0 / 338.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.02216, allocations: 43.98 kB / 338.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.437e-05/0.02224, allocations: 31.73 kB / 338.5 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.02226, allocations: 11.98 kB / 338.5 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006189/0.02288, allocations: 1.256 MB / 339.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.02288, allocations: 7.938 kB / 339.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.02343, allocations: 0.7173 MB / 340.5 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.02353, allocations: 79.7 kB / 340.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.0236, allocations: 15.98 kB / 340.5 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.02371, allocations: 12 kB / 340.6 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.02379, allocations: 31.95 kB / 340.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.02382, allocations: 19.92 kB / 340.6 MB, free: 7.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.0239, allocations: 96.62 kB / 340.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0239, allocations: 0 / 340.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.02424, allocations: 147.9 kB / 340.9 MB, free: 7.047 MB / 314.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.0002062/0.02445, allocations: 124.2 kB / 341 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.02513, allocations: 0.7287 MB / 341.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.02514, allocations: 9.062 kB / 341.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.02552, allocations: 0.4902 MB / 342.2 MB, free: 5.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.02583, allocations: 82.02 kB / 342.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.02729, allocations: 1.184 MB / 343.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.0274, allocations: 157.7 kB / 343.6 MB, free: 4.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.02752, allocations: 43.31 kB / 343.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.02775, allocations: 147.3 kB / 343.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02775, allocations: 0 / 343.8 MB, free: 3.953 MB / 314.7 MB Notification: Performance of Templates: time 0.009664/0.03742, allocations: 6.614 MB / 350.4 MB, free: 13.41 MB / 330.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.1435493528842926]