Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0009177/0.0009177, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009806/0.0009806, allocations: 174.4 kB / 24.92 MB, free: 8.266 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.005/1.005, 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.2357/0.2357, allocations: 29.41 MB / 291.2 MB, free: 2.461 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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.118e-05, allocations: 3.188 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004221/0.004253, allocations: 3.89 MB / 320.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.005351, allocations: 0.9119 MB / 321.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.005503, allocations: 15.88 kB / 321.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.005858, allocations: 47.56 kB / 321.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.006249, allocations: 194.8 kB / 321.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.006409, allocations: 91.73 kB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.006733, allocations: 418.3 kB / 322.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.0069, allocations: 84.64 kB / 322.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.007218, allocations: 259.3 kB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.007442, allocations: 171.5 kB / 322.9 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.007474, allocations: 20 kB / 322.9 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.007508, allocations: 27.94 kB / 322.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.007609, allocations: 119.6 kB / 323.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.007697, allocations: 99.75 kB / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.00795, allocations: 231.2 kB / 323.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007952, allocations: 0 / 323.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.007953, allocations: 0 / 323.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007957, allocations: 0 / 323.4 MB, free: 9.438 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006432/0.008601, allocations: 0.5158 MB / 323.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.008637, allocations: 15.98 kB / 323.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.008694, allocations: 36.91 kB / 323.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.008975, allocations: 272.6 kB / 324.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.008989, allocations: 12.88 kB / 324.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.009018, allocations: 28.36 kB / 324.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.009246, allocations: 227.2 kB / 324.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.009258, allocations: 3.938 kB / 324.5 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.009277, allocations: 12 kB / 324.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.009284, allocations: 4 kB / 324.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.009388, allocations: 94.14 kB / 324.6 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01058, allocations: 1.088 MB / 325.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.0108, allocations: 139.3 kB / 325.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.01085, allocations: 25.77 kB / 325.8 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.01087, allocations: 11.94 kB / 325.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.0109, allocations: 34.56 kB / 325.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.405e-06/0.0109, allocations: 0 / 325.9 MB, free: 6.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003013/0.0112, allocations: 130.7 kB / 326 MB, free: 6.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.01125, allocations: 77.11 kB / 326.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01139, allocations: 250.9 kB / 326.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.01141, allocations: 29.7 kB / 326.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.01149, allocations: 180.5 kB / 326.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.01152, allocations: 47.62 kB / 326.6 MB, free: 6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.01157, allocations: 53.69 kB / 326.6 MB, free: 5.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01167, allocations: 342.8 kB / 327 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.0117, allocations: 18.69 kB / 327 MB, free: 5.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.01178, allocations: 110.4 kB / 327.1 MB, free: 5.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.0119, allocations: 158.5 kB / 327.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01191, allocations: 0 / 327.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001473/0.01205, allocations: 154.4 kB / 327.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01207, allocations: 8 kB / 327.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01207, allocations: 4 kB / 327.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01209, allocations: 4 kB / 327.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01219, allocations: 47.92 kB / 327.5 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01219, allocations: 7.984 kB / 327.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.01225, allocations: 15.89 kB / 327.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01226, allocations: 11.94 kB / 327.5 MB, free: 4.977 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.01234, allocations: 116.9 kB / 327.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01237, allocations: 31.86 kB / 327.6 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.01251, allocations: 118.2 kB / 327.8 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01251, allocations: 0 / 327.8 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01251, allocations: 0 / 327.8 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01252, allocations: 4 kB / 327.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.01266, allocations: 148.5 kB / 327.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01266, allocations: 0 / 327.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.01272, allocations: 27.92 kB / 327.9 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01272, allocations: 0 / 327.9 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.01273, allocations: 15.88 kB / 327.9 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01274, allocations: 7.984 kB / 328 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01274, allocations: 4 kB / 328 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01288, allocations: 235.1 kB / 328.2 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.0129, allocations: 35.72 kB / 328.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01292, allocations: 7.938 kB / 328.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.01297, allocations: 4 kB / 328.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.01299, allocations: 7.984 kB / 328.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01299, allocations: 0 / 328.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.838e-05/0.01305, allocations: 84.64 kB / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01305, allocations: 0 / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.01323, allocations: 63.89 kB / 328.4 MB, free: 4.027 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.555e-05/0.01332, allocations: 88.34 kB / 328.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.01344, allocations: 84.69 kB / 328.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.01344, allocations: 4 kB / 328.6 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.01348, allocations: 43.11 kB / 328.6 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01374, allocations: 65.48 kB / 328.7 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.01456, allocations: 0.5049 MB / 329.2 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.01462, allocations: 100.3 kB / 329.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.076e-05/0.01469, allocations: 30.28 kB / 329.3 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.0148, allocations: 91.34 kB / 329.4 MB, free: 2.965 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0148, allocations: 0 / 329.4 MB, free: 2.965 MB / 298.7 MB Notification: Performance of Templates: time 0.004175/0.01898, allocations: 2.429 MB / 331.8 MB, free: 0.5859 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8728379611857235]