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.001335/0.001335, allocations: 83.67 kB / 20.5 MB, free: 1.391 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.001427/0.001427, allocations: 164.4 kB / 23.74 MB, free: 4.59 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.593/1.593, allocations: 177.2 MB / 204.1 MB, free: 9.289 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.1796/0.1796, allocations: 29.43 MB / 289.9 MB, free: 3.41 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 66.23 kB / 430.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3819, allocations: 62.44 MB / 492.9 MB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006065/0.388, allocations: 4 MB / 496.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3898, allocations: 0.861 MB / 497.7 MB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.39, allocations: 19.81 kB / 497.8 MB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3902, allocations: 47.5 kB / 497.8 MB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005786/0.3908, allocations: 183.1 kB / 498 MB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3911, allocations: 91.81 kB / 498.1 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.3915, allocations: 406.5 kB / 498.5 MB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3918, allocations: 78.67 kB / 498.6 MB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.3922, allocations: 255.1 kB / 498.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.3925, allocations: 203.3 kB / 499 MB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.3926, allocations: 31.94 kB / 499 MB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.3926, allocations: 20 kB / 499 MB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3928, allocations: 111.6 kB / 499.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.3929, allocations: 115.4 kB / 499.3 MB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.3934, allocations: 318.7 kB / 499.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3934, allocations: 0 / 499.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3934, allocations: 0 / 499.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3934, allocations: 0 / 499.6 MB, free: 11.25 MB / 398.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.001152/0.3945, allocations: 0.5605 MB / 0.4884 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3946, allocations: 11.98 kB / 0.4884 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.3946, allocations: 36.69 kB / 0.4885 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.3951, allocations: 276.4 kB / 0.4887 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3952, allocations: 24.81 kB / 0.4888 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3952, allocations: 24.12 kB / 0.4888 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.3957, allocations: 315.9 kB / 0.4891 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3957, allocations: 3.938 kB / 0.4891 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.3958, allocations: 8 kB / 0.4891 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3958, allocations: 8 kB / 0.4891 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.3961, allocations: 213.8 kB / 0.4893 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.3978, allocations: 1.225 MB / 0.4905 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.3981, allocations: 137.1 kB / 0.4906 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3982, allocations: 57.75 kB / 0.4907 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3983, allocations: 8 kB / 0.4907 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3983, allocations: 38.5 kB / 0.4907 GB, free: 8.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3983, allocations: 4 kB / 0.4907 GB, free: 8.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008801/0.3992, allocations: 369.2 kB / 0.4911 GB, free: 7.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.3993, allocations: 81.11 kB / 0.4912 GB, free: 7.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.3996, allocations: 264.1 kB / 0.4914 GB, free: 7.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3996, allocations: 37.64 kB / 0.4914 GB, free: 7.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3998, allocations: 204.1 kB / 0.4916 GB, free: 7.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.3998, allocations: 51.58 kB / 0.4917 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.3999, allocations: 53.78 kB / 0.4917 GB, free: 7.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4001, allocations: 334.8 kB / 0.4921 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/0.4002, allocations: 51.97 kB / 0.4921 GB, free: 6.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.4004, allocations: 152.7 kB / 0.4923 GB, free: 6.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.4007, allocations: 228.6 kB / 0.4925 GB, free: 6.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4007, allocations: 0 / 0.4925 GB, free: 6.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003947/0.4011, allocations: 253.2 kB / 0.4927 GB, free: 5.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4011, allocations: 4 kB / 0.4927 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4011, allocations: 8 kB / 0.4927 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.4011, allocations: 4 kB / 0.4927 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4013, allocations: 47.91 kB / 0.4928 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.4013, allocations: 8 kB / 0.4928 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.4015, allocations: 11.94 kB / 0.4928 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.4015, allocations: 12.28 kB / 0.4928 GB, free: 5.844 MB / 398.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.0001836/0.4017, allocations: 161.8 kB / 0.493 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.4017, allocations: 27.8 kB / 0.493 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.4021, allocations: 199.3 kB / 0.4932 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.4021, allocations: 4 kB / 0.4932 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4021, allocations: 0 / 0.4932 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4021, allocations: 0 / 0.4932 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.4028, allocations: 482.8 kB / 0.4936 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4028, allocations: 0 / 0.4936 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4029, allocations: 27.98 kB / 0.4937 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.403, allocations: 8.016 kB / 0.4937 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.403, allocations: 0 / 0.4937 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.403, allocations: 7.938 kB / 0.4937 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.403, allocations: 0 / 0.4937 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.4033, allocations: 300.9 kB / 0.494 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.4034, allocations: 19.86 kB / 0.494 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.4034, allocations: 4 kB / 0.494 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4035, allocations: 4 kB / 0.494 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.4036, allocations: 19.91 kB / 0.494 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4036, allocations: 8 kB / 0.494 GB, free: 4.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4038, allocations: 179.1 kB / 0.4942 GB, free: 4.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4038, allocations: 4 kB / 0.4942 GB, free: 4.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000338/0.4041, allocations: 55.94 kB / 0.4943 GB, free: 4.281 MB / 398.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.0001208/0.4042, allocations: 95.19 kB / 0.4943 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.4046, allocations: 159.7 kB / 0.4945 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4046, allocations: 0.875 kB / 0.4945 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.4047, allocations: 70.92 kB / 0.4946 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.4052, allocations: 61.08 kB / 0.4946 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.4062, allocations: 0.534 MB / 0.4951 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.4064, allocations: 174.1 kB / 0.4953 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.4065, allocations: 50.19 kB / 0.4954 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.4066, allocations: 24.48 kB / 0.4954 GB, free: 3.062 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4066, allocations: 0 / 0.4954 GB, free: 3.062 MB / 398.1 MB Notification: Performance of Templates: time 0.006405/0.413, allocations: 2.242 MB / 0.4976 GB, free: 0.8633 MB / 398.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: 5.125954154878855] Failed to read output from testmodel.py, exit status != 0: 0.4230594430118799 0.438313109 0.041718809 Calling exit ...