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.0007338/0.0007338, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002943/0.002943, allocations: 160.3 kB / 24.7 MB, free: 9.43 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.8987/0.8987, allocations: 177.1 MB / 205 MB, free: 5.727 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.2342/0.2342, allocations: 29.41 MB / 290.9 MB, free: 2.418 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=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.538e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004658/0.004693, allocations: 3.972 MB / 435.5 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.005901, allocations: 0.8724 MB / 436.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.006101, allocations: 19.81 kB / 436.4 MB, free: 8.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.006374, allocations: 51.5 kB / 436.4 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.006934, allocations: 186.9 kB / 436.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.007176, allocations: 99.67 kB / 436.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.007595, allocations: 414.4 kB / 437.1 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.007816, allocations: 78.67 kB / 437.2 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.008211, allocations: 247.2 kB / 437.4 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.008512, allocations: 191.5 kB / 437.6 MB, free: 6.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.008553, allocations: 20 kB / 437.6 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-05/0.008591, allocations: 23.94 kB / 437.6 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.008694, allocations: 119.7 kB / 437.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.00879, allocations: 103.6 kB / 437.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.009484, allocations: 311 kB / 438.2 MB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.009488, allocations: 0 / 438.2 MB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.00949, allocations: 0 / 438.2 MB, free: 6.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.009498, allocations: 4 kB / 438.2 MB, free: 6.359 MB / 410.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.000939/0.01044, allocations: 0.5556 MB / 438.7 MB, free: 5.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.01048, allocations: 11.98 kB / 438.7 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.01055, allocations: 40.64 kB / 438.8 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.01095, allocations: 275.7 kB / 439 MB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.01098, allocations: 16.88 kB / 439.1 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.01101, allocations: 20.38 kB / 439.1 MB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.01138, allocations: 320.4 kB / 439.4 MB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.0114, allocations: 3.938 kB / 439.4 MB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.01142, allocations: 16 kB / 439.4 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01143, allocations: 4 kB / 439.4 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.01169, allocations: 217.7 kB / 439.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01285, allocations: 1.217 MB / 440.8 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.01313, allocations: 145.2 kB / 441 MB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.0132, allocations: 61.69 kB / 441 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.01322, allocations: 0 / 441 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.01325, allocations: 42.55 kB / 441.1 MB, free: 3.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.01325, allocations: 0 / 441.1 MB, free: 3.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000658/0.01391, allocations: 380.5 kB / 441.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.01395, allocations: 77.11 kB / 441.5 MB, free: 2.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.01414, allocations: 272.1 kB / 441.8 MB, free: 2.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.01415, allocations: 25.7 kB / 441.8 MB, free: 2.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01426, allocations: 204.3 kB / 442 MB, free: 2.266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.01429, allocations: 51.52 kB / 442.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.01435, allocations: 45.66 kB / 442.1 MB, free: 2.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.01446, allocations: 338.8 kB / 442.4 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.01453, allocations: 55.95 kB / 442.5 MB, free: 1.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01465, allocations: 148.8 kB / 442.6 MB, free: 1.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01485, allocations: 224.6 kB / 442.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01485, allocations: 4 kB / 442.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002548/0.01511, allocations: 249.1 kB / 443.1 MB, free: 1.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01513, allocations: 8 kB / 443.1 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.01513, allocations: 0 / 443.1 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01515, allocations: 8 kB / 443.1 MB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01528, allocations: 51.91 kB / 443.2 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01529, allocations: 4.438 kB / 443.2 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.01536, allocations: 11.94 kB / 443.2 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01537, allocations: 15.98 kB / 443.2 MB, free: 0.9609 MB / 410.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 0.0001178/0.01549, allocations: 153.8 kB / 443.4 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01552, allocations: 31.73 kB / 443.4 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.01576, allocations: 203.8 kB / 443.6 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01576, allocations: 0 / 443.6 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01577, allocations: 0 / 443.6 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01577, allocations: 4 kB / 443.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.0162, allocations: 476.7 kB / 444.1 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0162, allocations: 32 / 444.1 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.01629, allocations: 35.92 kB / 444.1 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01629, allocations: 0 / 444.1 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.0163, allocations: 8 kB / 444.1 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01631, allocations: 0 / 444.1 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01631, allocations: 0 / 444.1 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1865/0.2028, allocations: 289.7 kB / 444.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.2029, allocations: 21.08 kB / 444.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2029, allocations: 5.781 kB / 444.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.203, allocations: 5.359 kB / 444.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.2031, allocations: 14.92 kB / 444.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2031, allocations: 10.64 kB / 444.4 MB, free: 54.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.2032, allocations: 186.1 kB / 444.6 MB, free: 54.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2032, allocations: 0 / 444.6 MB, free: 54.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.2034, allocations: 50.16 kB / 444.7 MB, free: 54.35 MB / 410.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.0001131/0.2035, allocations: 96.97 kB / 444.8 MB, free: 54.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2038, allocations: 154.3 kB / 444.9 MB, free: 54.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2038, allocations: 2.938 kB / 444.9 MB, free: 54.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.2038, allocations: 67.62 kB / 445 MB, free: 54.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2042, allocations: 64.84 kB / 445 MB, free: 54.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.2048, allocations: 0.5409 MB / 445.6 MB, free: 53.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.2049, allocations: 182.6 kB / 445.8 MB, free: 53.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.205, allocations: 26.69 kB / 445.8 MB, free: 53.9 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.205, allocations: 0 / 445.8 MB, free: 53.9 MB / 410.7 MB Notification: Performance of Templates: time 0.003304/0.2083, allocations: 3.344 MB / 449.1 MB, free: 53.71 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.060930903069675] Failed to read output from testmodel.py, exit status != 0: 0.2153636645525694 0.22633698700000002 0.21406946500000001 Calling exit ...