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.001025/0.001025, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001052/0.001052, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9578/0.9578, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2238/0.2238, allocations: 29.41 MB / 291.2 MB, free: 2.449 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.413e-06/1.413e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.093e-05, allocations: 9.547 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003667/0.003688, allocations: 3.873 MB / 374 MB, free: 6.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004845, allocations: 0.892 MB / 374.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.005006, allocations: 15.88 kB / 374.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.005179, allocations: 47.5 kB / 374.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.005595, allocations: 190.8 kB / 375.1 MB, free: 5.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.005773, allocations: 95.73 kB / 375.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.006123, allocations: 414.4 kB / 375.6 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.006283, allocations: 74.69 kB / 375.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.006621, allocations: 267.3 kB / 376 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.006839, allocations: 175.5 kB / 376.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.006873, allocations: 20 kB / 376.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.006907, allocations: 23.94 kB / 376.2 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.006994, allocations: 119.6 kB / 376.3 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.007073, allocations: 99.77 kB / 376.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.007295, allocations: 235.1 kB / 376.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.007296, allocations: 0 / 376.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007297, allocations: 0 / 376.6 MB, free: 4.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.007301, allocations: 0 / 376.6 MB, free: 4.18 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.0005949/0.007895, allocations: 0.637 MB / 377.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.007929, allocations: 11.98 kB / 377.3 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.007988, allocations: 60.7 kB / 377.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.008242, allocations: 279.4 kB / 377.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.008257, allocations: 20.88 kB / 377.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.008278, allocations: 20.38 kB / 377.6 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.008492, allocations: 239 kB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.008502, allocations: 11.88 kB / 377.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.008521, allocations: 12 kB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.008528, allocations: 8 kB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.008623, allocations: 79.36 kB / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.009532, allocations: 1.497 MB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.009696, allocations: 106.1 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.009732, allocations: 39.36 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.009749, allocations: 4 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.009768, allocations: 33.39 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.009769, allocations: 4 kB / 379.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003546/0.01012, allocations: 196.6 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.01016, allocations: 81.11 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.0103, allocations: 310.1 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.01032, allocations: 25.7 kB / 380.3 MB, free: 260 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.01041, allocations: 254.8 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.01046, allocations: 55.56 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.0105, allocations: 51.3 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01062, allocations: 0.5079 MB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.01064, allocations: 24.11 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.01073, allocations: 159.1 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01087, allocations: 207.1 kB / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01087, allocations: 0 / 381.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001752/0.01104, allocations: 189.4 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01105, allocations: 4 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01106, allocations: 4 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01107, allocations: 4 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01118, allocations: 51.91 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01118, allocations: 11.94 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.01124, allocations: 8 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.01125, allocations: 7.984 kB / 381.8 MB, free: 14.58 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 8.8e-05/0.01134, allocations: 172.5 kB / 381.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01137, allocations: 35.75 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.01152, allocations: 131.4 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01152, allocations: 7.984 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01153, allocations: 0 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01153, allocations: 3.984 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.01183, allocations: 417.5 kB / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01183, allocations: 0 / 382.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.0119, allocations: 31.92 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.0119, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01191, allocations: 8 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01191, allocations: 0 / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01191, allocations: 7.969 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.01208, allocations: 304.8 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.0121, allocations: 19.86 kB / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.01212, allocations: 0 / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.01217, allocations: 8 kB / 382.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.01219, allocations: 19.91 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.0122, allocations: 4 kB / 382.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.047e-05/0.01228, allocations: 199 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01228, allocations: 0 / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.01248, allocations: 52 kB / 383.2 MB, free: 13.11 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 6.927e-05/0.01255, allocations: 103.2 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01268, allocations: 95.39 kB / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01268, allocations: 0 / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.01273, allocations: 51.58 kB / 383.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01302, allocations: 72.41 kB / 383.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.0138, allocations: 0.5058 MB / 384 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.01385, allocations: 104.3 kB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.01393, allocations: 26.28 kB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.01405, allocations: 118.2 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01405, allocations: 0 / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of Templates: time 0.004452/0.0185, allocations: 2.428 MB / 386.7 MB, free: 9.602 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: 2.9116854979656637]