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.001909/0.001909, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002061/0.002061, allocations: 161.3 kB / 24.27 MB, free: 148 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 1.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3064/0.3064, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.943e-06/1.943e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.192e-05, allocations: 6.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00712/0.007152, allocations: 4.581 MB / 373.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.01004, allocations: 1.402 MB / 374.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.01023, allocations: 19.81 kB / 374.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000996/0.01123, allocations: 302.6 kB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006494/0.01188, allocations: 290.2 kB / 375.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007518/0.01263, allocations: 263.2 kB / 375.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008334/0.01347, allocations: 0.6779 MB / 376.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.01386, allocations: 212.5 kB / 376.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006535/0.01451, allocations: 402.8 kB / 377 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.01519, allocations: 399 kB / 377.4 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.0153, allocations: 44 kB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.01579, allocations: 215.7 kB / 377.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.01613, allocations: 267.3 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.01657, allocations: 207.5 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.01772, allocations: 0.8022 MB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01773, allocations: 4 kB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01773, allocations: 0 / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.01774, allocations: 0 / 378.9 MB, free: 1.238 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.001748/0.01948, allocations: 0.9432 MB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.01952, allocations: 15.98 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.02036, allocations: 188.3 kB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.0212, allocations: 390.5 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.02124, allocations: 33.36 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.02133, allocations: 40.38 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.02254, allocations: 0.7043 MB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.02257, allocations: 7.922 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.02263, allocations: 16 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001627/0.02279, allocations: 64.89 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.02377, allocations: 0.5091 MB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.02805, allocations: 2.848 MB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.02884, allocations: 412.4 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.02946, allocations: 294 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.02951, allocations: 11.98 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.02956, allocations: 37.39 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.484e-06/0.02956, allocations: 4 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002864/0.03242, allocations: 1.457 MB / 386.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.03255, allocations: 130.8 kB / 387 MB, free: 8.781 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.03299, allocations: 390.2 kB / 387.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.03303, allocations: 33.7 kB / 387.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.03329, allocations: 319.7 kB / 387.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.0335, allocations: 206.3 kB / 387.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.03372, allocations: 119.8 kB / 388 MB, free: 7.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003309/0.03405, allocations: 0.5508 MB / 388.6 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.03446, allocations: 258.8 kB / 388.8 MB, free: 6.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.03507, allocations: 485.6 kB / 389.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.03612, allocations: 0.7529 MB / 390.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.03612, allocations: 4 kB / 390.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001355/0.03748, allocations: 0.7996 MB / 390.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.03759, allocations: 69.66 kB / 390.9 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.03762, allocations: 8 kB / 390.9 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.03783, allocations: 36.17 kB / 391 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.03819, allocations: 91.81 kB / 391.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.03996, allocations: 1.826 MB / 392.9 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.04028, allocations: 27.97 kB / 392.9 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.04035, allocations: 31.98 kB / 393 MB, free: 2.43 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.0003731/0.04072, allocations: 270 kB / 393.2 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.04088, allocations: 71.64 kB / 393.3 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.04224, allocations: 0.7908 MB / 394.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.04226, allocations: 8 kB / 394.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.04227, allocations: 0 / 394.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.04227, allocations: 8 kB / 394.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.04476, allocations: 1.414 MB / 395.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.04476, allocations: 0 / 395.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.04503, allocations: 63.83 kB / 395.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.04515, allocations: 35.73 kB / 395.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.0452, allocations: 15.98 kB / 395.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.04675, allocations: 1.818 MB / 397.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.04675, allocations: 4 kB / 397.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.04822, allocations: 0.9727 MB / 398.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.0485, allocations: 95.7 kB / 398.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.04857, allocations: 19.92 kB / 398.5 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.04883, allocations: 27.97 kB / 398.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.04895, allocations: 43.81 kB / 398.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.04901, allocations: 23.98 kB / 398.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.04925, allocations: 239 kB / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04925, allocations: 0 / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005858/0.04984, allocations: 143.9 kB / 399 MB, free: 12.09 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.0002851/0.05012, allocations: 147.1 kB / 399.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.0518, allocations: 1.012 MB / 400.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0518, allocations: 1.125 kB / 400.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.05269, allocations: 0.6684 MB / 400.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.05323, allocations: 86.5 kB / 400.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.05526, allocations: 1.228 MB / 402.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.0556, allocations: 282.5 kB / 402.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.05584, allocations: 83.17 kB / 402.5 MB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.05594, allocations: 32.5 kB / 402.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.05594, allocations: 3.938 kB / 402.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01287/0.06881, allocations: 6.204 MB / 408.7 MB, free: 2.273 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: 4.903531810035929]