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.001283/0.001283, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001362/0.001362, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.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.1772/0.1772, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.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.001984/0.001984, allocations: 67.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 62.47 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005461/0.2983, allocations: 4.196 MB / 0.5473 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2999, allocations: 0.9335 MB / 0.5482 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3, allocations: 15.31 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.3002, allocations: 51.84 kB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.3007, allocations: 189.1 kB / 0.5485 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3009, allocations: 92.86 kB / 0.5486 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.3014, allocations: 406.8 kB / 0.549 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3016, allocations: 79.05 kB / 0.549 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.3019, allocations: 189.6 kB / 0.5492 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.3023, allocations: 216.8 kB / 0.5494 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.3023, allocations: 20.03 kB / 0.5494 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.171e-05/0.3024, allocations: 21.12 kB / 0.5495 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3025, allocations: 108.3 kB / 0.5496 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3027, allocations: 155 kB / 0.5497 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3031, allocations: 320.4 kB / 0.55 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3031, allocations: 0 / 0.55 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3031, allocations: 0 / 0.55 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3031, allocations: 1.375 kB / 0.55 GB, free: 11.41 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.00108/0.3042, allocations: 0.5571 MB / 0.5506 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3042, allocations: 13.98 kB / 0.5506 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.3043, allocations: 33.03 kB / 0.5506 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.3048, allocations: 283.4 kB / 0.5509 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3048, allocations: 13.47 kB / 0.5509 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.3048, allocations: 26.41 kB / 0.5509 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.3053, allocations: 317.7 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3053, allocations: 0 / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.3053, allocations: 10.66 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3053, allocations: 5.781 kB / 0.5512 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.3057, allocations: 216.9 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.3073, allocations: 1.317 MB / 0.5527 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.3076, allocations: 135.3 kB / 0.5529 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.3077, allocations: 60.81 kB / 0.5529 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3077, allocations: 2.312 kB / 0.5529 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3078, allocations: 39.81 kB / 0.553 GB, free: 8.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3078, allocations: 0 / 0.553 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007514/0.3085, allocations: 365.4 kB / 0.5533 GB, free: 8.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.3086, allocations: 78.45 kB / 0.5534 GB, free: 8.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.3088, allocations: 265.5 kB / 0.5536 GB, free: 8.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3088, allocations: 29.64 kB / 0.5537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.309, allocations: 211.1 kB / 0.5539 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.309, allocations: 52.48 kB / 0.5539 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.3091, allocations: 46.16 kB / 0.554 GB, free: 8.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3093, allocations: 344.4 kB / 0.5543 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.3094, allocations: 52.34 kB / 0.5543 GB, free: 7.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3095, allocations: 149.8 kB / 0.5545 GB, free: 7.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.3098, allocations: 233.6 kB / 0.5547 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3098, allocations: 1.312 kB / 0.5547 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003685/0.3102, allocations: 241.7 kB / 0.5549 GB, free: 7.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3102, allocations: 19.02 kB / 0.5549 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3102, allocations: 3.344 kB / 0.555 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3102, allocations: 4.781 kB / 0.555 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.3104, allocations: 47.59 kB / 0.555 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.3104, allocations: 9.969 kB / 0.555 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3106, allocations: 11.83 kB / 0.555 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3106, allocations: 9.188 kB / 0.555 GB, free: 7.25 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.0001564/0.3107, allocations: 162.9 kB / 0.5552 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.3108, allocations: 23.23 kB / 0.5552 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.3111, allocations: 194.8 kB / 0.5554 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3111, allocations: 2.188 kB / 0.5554 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3111, allocations: 4.984 kB / 0.5554 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3111, allocations: 1.188 kB / 0.5554 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.3118, allocations: 0.5245 MB / 0.5559 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3118, allocations: 1.062 kB / 0.5559 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.312, allocations: 31.48 kB / 0.5559 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.312, allocations: 1.094 kB / 0.5559 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.312, allocations: 9.094 kB / 0.556 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.312, allocations: 10.11 kB / 0.556 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.312, allocations: 1.188 kB / 0.556 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3123, allocations: 292.5 kB / 0.5562 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3124, allocations: 26.33 kB / 0.5563 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3124, allocations: 10.16 kB / 0.5563 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3125, allocations: 10.06 kB / 0.5563 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.3126, allocations: 12.39 kB / 0.5563 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3126, allocations: 11.27 kB / 0.5563 GB, free: 6.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.3127, allocations: 185 kB / 0.5565 GB, free: 6.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3127, allocations: 0 / 0.5565 GB, free: 6.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.3131, allocations: 48.53 kB / 0.5565 GB, free: 6.098 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.000111/0.3132, allocations: 95.94 kB / 0.5566 GB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.3135, allocations: 152.4 kB / 0.5568 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3135, allocations: 1.281 kB / 0.5568 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3136, allocations: 81.52 kB / 0.5569 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.314, allocations: 59.19 kB / 0.5569 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.315, allocations: 0.5732 MB / 0.5575 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.3154, allocations: 0.7792 MB / 0.5582 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.3155, allocations: 27.44 kB / 0.5583 GB, free: 4.547 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3155, allocations: 0 / 0.5583 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Templates: time 0.005402/0.3209, allocations: 3.227 MB / 0.5614 GB, free: 1.328 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: 7.452535508899018] Failed to read output from testmodel.py, exit status != 0: 0.3296171249821782 0.34371873399999997 0.037494907 Calling exit ...