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.001437/0.001437, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001626/0.001626, allocations: 170.4 kB / 25.61 MB, free: 8.926 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 0.9601/0.9601, allocations: 177.1 MB / 206 MB, free: 4.508 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.1826/0.1826, allocations: 29.43 MB / 292 MB, free: 2.648 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.543e-06/1.543e-06, allocations: 3.938 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.768e-05, allocations: 4.844 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.0169/0.01693, allocations: 3.884 MB / 374.8 MB, free: 28.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.01842, allocations: 0.8919 MB / 375.6 MB, free: 27.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.01866, allocations: 19.81 kB / 375.7 MB, free: 27.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.01891, allocations: 47.56 kB / 375.7 MB, free: 27.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.02565, allocations: 190.9 kB / 375.9 MB, free: 27.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.02593, allocations: 87.75 kB / 376 MB, free: 27.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.02636, allocations: 426.3 kB / 376.4 MB, free: 26.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.02658, allocations: 74.69 kB / 376.5 MB, free: 26.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.02707, allocations: 271.2 kB / 376.7 MB, free: 26.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.02738, allocations: 183.5 kB / 376.9 MB, free: 26.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.02742, allocations: 20 kB / 376.9 MB, free: 26.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.36e-05/0.02746, allocations: 20 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.02756, allocations: 115.6 kB / 377.1 MB, free: 26.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.02766, allocations: 95.77 kB / 377.2 MB, free: 26.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.03104, allocations: 227.2 kB / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.03104, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03105, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.03106, allocations: 0 / 377.4 MB, free: 25.79 MB / 314.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.0009352/0.032, allocations: 0.6525 MB / 378 MB, free: 25.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.03204, allocations: 8.031 kB / 378 MB, free: 25.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.03213, allocations: 52.7 kB / 378.1 MB, free: 25.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.03253, allocations: 275.4 kB / 378.4 MB, free: 24.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.03255, allocations: 16.88 kB / 378.4 MB, free: 24.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.03258, allocations: 28.36 kB / 378.4 MB, free: 24.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.03289, allocations: 243 kB / 378.6 MB, free: 24.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.0329, allocations: 11.88 kB / 378.7 MB, free: 24.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.03293, allocations: 7.984 kB / 378.7 MB, free: 24.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.03294, allocations: 8 kB / 378.7 MB, free: 24.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.03311, allocations: 83.36 kB / 378.8 MB, free: 24.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.03441, allocations: 1.489 MB / 380.2 MB, free: 22.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.0347, allocations: 118.1 kB / 380.4 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.03476, allocations: 35.58 kB / 380.4 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.03479, allocations: 7.938 kB / 380.4 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.03481, allocations: 41.33 kB / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 3.627e-06/0.03482, allocations: 0 / 380.4 MB, free: 22.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006152/0.03543, allocations: 181.1 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.03547, allocations: 81.11 kB / 380.7 MB, free: 22.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.03568, allocations: 302.2 kB / 381 MB, free: 21.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.03569, allocations: 29.7 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.03581, allocations: 262.8 kB / 381.3 MB, free: 21.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.03585, allocations: 43.64 kB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.03592, allocations: 55.33 kB / 381.4 MB, free: 21.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.03599, allocations: 0.504 MB / 381.9 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.03604, allocations: 19.98 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.03614, allocations: 173.3 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.03633, allocations: 204.3 kB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.03634, allocations: 0 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002778/0.03661, allocations: 199.1 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.03663, allocations: 6.031 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.03664, allocations: 4 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.03666, allocations: 4 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.03683, allocations: 47.91 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.03684, allocations: 11.94 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.03696, allocations: 8.438 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.03698, allocations: 8 kB / 382.5 MB, free: 20.18 MB / 314.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.592e-05/0.03707, allocations: 172.5 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.03713, allocations: 31.78 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.03735, allocations: 135.3 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.03735, allocations: 4 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.03736, allocations: 0 / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.03736, allocations: 0 / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.03782, allocations: 424.5 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.03782, allocations: 0 / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.03794, allocations: 39.95 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.03795, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.03796, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.03797, allocations: 4 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.03797, allocations: 0 / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.0382, allocations: 291 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.03824, allocations: 27.8 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.03827, allocations: 4 kB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.03838, allocations: 3.938 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.03841, allocations: 15.98 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.03842, allocations: 7.984 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.03853, allocations: 195 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03853, allocations: 0 / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.03891, allocations: 56 kB / 383.9 MB, free: 18.72 MB / 314.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 0.0001249/0.03904, allocations: 103.2 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.03924, allocations: 100.1 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.03924, allocations: 0 / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.03932, allocations: 55.78 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/0.04276, allocations: 63.75 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.04368, allocations: 0.5074 MB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.458e-05/0.04374, allocations: 100.3 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.04385, allocations: 30.28 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.04398, allocations: 114.2 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.04399, allocations: 0 / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of Templates: time 0.005713/0.0497, allocations: 2.477 MB / 387.5 MB, free: 15.17 MB / 314.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.1495418031699955]