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.00134/0.00134, allocations: 84.08 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001563/0.001563, allocations: 168.4 kB / 23.95 MB, free: 4.152 MB / 14.72 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.486/1.486, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.1791/0.1791, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.1 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.084e-06/2.084e-06, allocations: 3.938 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.169e-05, allocations: 5.656 kB / 430.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006148/0.006189, allocations: 3.976 MB / 434.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.008019, allocations: 0.8762 MB / 435.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.008291, allocations: 23.81 kB / 435.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.008624, allocations: 51.5 kB / 435.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.009405, allocations: 182.9 kB / 435.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.009866, allocations: 87.75 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.01056, allocations: 418.3 kB / 436.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.0108, allocations: 70.7 kB / 436.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.01125, allocations: 255.2 kB / 436.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.01163, allocations: 191.5 kB / 436.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.01169, allocations: 20 kB / 436.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.01175, allocations: 24 kB / 436.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.01189, allocations: 107.7 kB / 437 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.01205, allocations: 103.7 kB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.01249, allocations: 314.9 kB / 437.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0125, allocations: 0 / 437.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0125, allocations: 4 kB / 437.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.01251, allocations: 0 / 437.4 MB, free: 11.21 MB / 366.1 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.001098/0.01361, allocations: 0.5522 MB / 437.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.01364, allocations: 11.98 kB / 438 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.01372, allocations: 36.75 kB / 438 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.01424, allocations: 291.5 kB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.01426, allocations: 12.88 kB / 438.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.0143, allocations: 24.38 kB / 438.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.01483, allocations: 324.4 kB / 438.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.01484, allocations: 3.938 kB / 438.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.01487, allocations: 12 kB / 438.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01488, allocations: 4 kB / 438.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.01527, allocations: 217.7 kB / 438.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.01693, allocations: 1.218 MB / 440.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.01729, allocations: 141.1 kB / 440.2 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.01741, allocations: 65.69 kB / 440.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.01743, allocations: 4 kB / 440.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.01746, allocations: 30.56 kB / 440.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.01746, allocations: 0 / 440.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008271/0.01829, allocations: 376.8 kB / 440.7 MB, free: 7.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.01836, allocations: 81.23 kB / 440.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.01864, allocations: 268.1 kB / 441 MB, free: 7.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.01866, allocations: 29.7 kB / 441.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.01883, allocations: 212 kB / 441.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.01887, allocations: 43.58 kB / 441.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.01895, allocations: 53.64 kB / 441.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.01912, allocations: 338.8 kB / 441.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01922, allocations: 47.97 kB / 441.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.01941, allocations: 148.8 kB / 441.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.01973, allocations: 228.6 kB / 442.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01973, allocations: 4 kB / 442.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004075/0.02014, allocations: 245.1 kB / 442.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.02016, allocations: 11.98 kB / 442.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02017, allocations: 4 kB / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.02018, allocations: 4.438 kB / 442.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.02038, allocations: 51.91 kB / 442.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.0204, allocations: 11.92 kB / 442.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.02054, allocations: 8 kB / 442.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.02056, allocations: 16 kB / 442.4 MB, free: 5.801 MB / 366.1 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.0001613/0.02072, allocations: 161.6 kB / 442.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.02078, allocations: 31.75 kB / 442.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.02114, allocations: 191.3 kB / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.02114, allocations: 0 / 442.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.02115, allocations: 7.984 kB / 442.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02116, allocations: 4 kB / 442.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.02185, allocations: 478.8 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.02185, allocations: 4 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.022, allocations: 31.86 kB / 443.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02201, allocations: 4 kB / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.02202, allocations: 7.984 kB / 443.3 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.02203, allocations: 4 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.02203, allocations: 4 kB / 443.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.02239, allocations: 288.1 kB / 443.6 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.02243, allocations: 23.84 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.02247, allocations: 8.031 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.02259, allocations: 4 kB / 443.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.02263, allocations: 11.92 kB / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.02264, allocations: 11.98 kB / 443.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.02283, allocations: 183.1 kB / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02283, allocations: 0 / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.02318, allocations: 52 kB / 443.9 MB, free: 4.25 MB / 366.1 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.000116/0.02329, allocations: 95.19 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.02359, allocations: 155.8 kB / 444.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.02359, allocations: 4 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.02372, allocations: 67.89 kB / 444.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.02421, allocations: 52.84 kB / 444.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.02511, allocations: 0.5016 MB / 444.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.02531, allocations: 174.1 kB / 445 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.02544, allocations: 46.25 kB / 445 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.02551, allocations: 28.5 kB / 445 MB, free: 3.082 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.02551, allocations: 3.938 kB / 445 MB, free: 3.078 MB / 366.1 MB Notification: Performance of Templates: time 0.006401/0.03191, allocations: 2.231 MB / 447.3 MB, free: 0.8906 MB / 366.1 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: 4.8162097707390785] Failed to read output from testmodel.py, exit status != 0: 0.2449805699288845 0.257580659 0.24246040000000002 Calling exit ...