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.0008617/0.0008617, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009084/0.0009084, allocations: 161 kB / 24.56 MB, free: 16 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.111/1.111, allocations: 177.1 MB / 205 MB, free: 5.629 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.2507/0.2507, allocations: 29.42 MB / 290.9 MB, free: 2.5 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.533e-06/1.533e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.648e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003648/0.003664, allocations: 3.904 MB / 373.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.004774, allocations: 0.8842 MB / 374.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.004915, allocations: 19.81 kB / 374.5 MB, free: 6.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.005102, allocations: 55.5 kB / 374.5 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.005497, allocations: 182.9 kB / 374.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.005677, allocations: 91.73 kB / 374.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.00601, allocations: 414.4 kB / 375.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.006176, allocations: 74.69 kB / 375.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.006481, allocations: 251.3 kB / 375.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.006718, allocations: 183.5 kB / 375.7 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.006753, allocations: 24 kB / 375.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.53e-05/0.006789, allocations: 20 kB / 375.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.006883, allocations: 123.6 kB / 375.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.006975, allocations: 99.77 kB / 375.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.007225, allocations: 243 kB / 376.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.007227, allocations: 0 / 376.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.007228, allocations: 0 / 376.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.007232, allocations: 4 kB / 376.2 MB, free: 4.426 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006752/0.007907, allocations: 0.6449 MB / 376.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.00794, allocations: 15.98 kB / 376.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.008009, allocations: 48.7 kB / 376.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.008397, allocations: 306.4 kB / 377.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.008417, allocations: 16.88 kB / 377.2 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.008451, allocations: 20.38 kB / 377.2 MB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.008773, allocations: 255 kB / 377.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.008787, allocations: 7.938 kB / 377.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.008809, allocations: 8 kB / 377.5 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.008821, allocations: 4 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.009015, allocations: 106.8 kB / 377.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.0102, allocations: 1.497 MB / 379.1 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.01044, allocations: 122.1 kB / 379.2 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.0105, allocations: 39.36 kB / 379.2 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.01052, allocations: 4 kB / 379.3 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.01054, allocations: 37.39 kB / 379.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.01054, allocations: 0 / 379.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005635/0.01111, allocations: 275.7 kB / 379.6 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.01114, allocations: 85.22 kB / 379.6 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01136, allocations: 314.2 kB / 379.9 MB, free: 388 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.01138, allocations: 25.7 kB / 380 MB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01149, allocations: 254.8 kB / 380.2 MB, free: 96 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.01153, allocations: 47.58 kB / 380.3 MB, free: 48 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.0116, allocations: 51.36 kB / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.01173, allocations: 0.504 MB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.01179, allocations: 27.97 kB / 380.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01191, allocations: 159.2 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.01211, allocations: 207.1 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01211, allocations: 8 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002693/0.01238, allocations: 212.4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01239, allocations: 4 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.0124, allocations: 4 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01242, allocations: 4.438 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01255, allocations: 55.91 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.01256, allocations: 4 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.01265, allocations: 8 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.01267, allocations: 8 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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 9.488e-05/0.01276, allocations: 172.5 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.01281, allocations: 31.8 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.01303, allocations: 150.2 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01303, allocations: 4 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01303, allocations: 0 / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01304, allocations: 4 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.01349, allocations: 484.9 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0135, allocations: 0 / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.01359, allocations: 27.98 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01359, allocations: 0 / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.0136, allocations: 4 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.0136, allocations: 4 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.0136, allocations: 0 / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.01383, allocations: 306.9 kB / 382.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.01386, allocations: 27.81 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01388, allocations: 12.02 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.01397, allocations: 7.938 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.01399, allocations: 11.98 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.014, allocations: 4 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01413, allocations: 207 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01413, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.01443, allocations: 48 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * 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 7.393e-05/0.0145, allocations: 103.1 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.01469, allocations: 115.7 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0147, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.01477, allocations: 55.53 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.01516, allocations: 58.62 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.0162, allocations: 0.5144 MB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.027e-05/0.01627, allocations: 96.28 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.973e-05/0.01637, allocations: 42.27 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.01642, allocations: 28.48 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01642, allocations: 0 / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004525/0.02095, allocations: 2.263 MB / 386.3 MB, free: 9.805 MB / 362.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: 3.1880854358896613]