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.001787/0.001787, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002999/0.002999, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1995/0.1995, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002101/0.002101, allocations: 67.89 kB / 493 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4219, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005632/0.4275, allocations: 3.989 MB / 0.5463 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4294, allocations: 0.8661 MB / 0.5472 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.4296, allocations: 18.75 kB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.4298, allocations: 44.75 kB / 0.5472 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.4303, allocations: 185.4 kB / 0.5474 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.4305, allocations: 91.41 kB / 0.5475 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.4311, allocations: 411.6 kB / 0.5479 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.4313, allocations: 71.08 kB / 0.548 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.4317, allocations: 197.5 kB / 0.5481 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.432, allocations: 201.3 kB / 0.5483 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.4321, allocations: 19.78 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.919e-05/0.4321, allocations: 20.94 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.4323, allocations: 115.4 kB / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.4324, allocations: 127.5 kB / 0.5486 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.4329, allocations: 320.3 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4329, allocations: 0 / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4329, allocations: 0 / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.4329, allocations: 1.531 kB / 0.5489 GB, free: 11.54 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.001254/0.4342, allocations: 0.5556 MB / 0.5495 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4342, allocations: 12.92 kB / 0.5495 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.4343, allocations: 36.53 kB / 0.5495 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005688/0.4349, allocations: 280.6 kB / 0.5498 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.4349, allocations: 17.06 kB / 0.5498 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.4349, allocations: 27.59 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.4355, allocations: 318.6 kB / 0.5501 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.4355, allocations: 5.312 kB / 0.5501 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.4356, allocations: 14.75 kB / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4356, allocations: 4.938 kB / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.436, allocations: 207.9 kB / 0.5503 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4377, allocations: 1.228 MB / 0.5515 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.4381, allocations: 139.8 kB / 0.5517 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4382, allocations: 57.06 kB / 0.5517 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.4382, allocations: 1.781 kB / 0.5517 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4383, allocations: 40.81 kB / 0.5518 GB, free: 9.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.4383, allocations: 0 / 0.5518 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008323/0.4391, allocations: 377.2 kB / 0.5521 GB, free: 8.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.4392, allocations: 79.67 kB / 0.5522 GB, free: 8.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.4395, allocations: 265.1 kB / 0.5525 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.4395, allocations: 31.14 kB / 0.5525 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.4397, allocations: 201.5 kB / 0.5527 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.4397, allocations: 53.27 kB / 0.5527 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.4398, allocations: 50.44 kB / 0.5528 GB, free: 8.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.44, allocations: 336.4 kB / 0.5531 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.882e-05/0.4401, allocations: 51.94 kB / 0.5531 GB, free: 7.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.4403, allocations: 153.9 kB / 0.5533 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.4406, allocations: 227.8 kB / 0.5535 GB, free: 7.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4406, allocations: 1.938 kB / 0.5535 GB, free: 7.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003869/0.441, allocations: 246.2 kB / 0.5537 GB, free: 7.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.441, allocations: 13.91 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.441, allocations: 3.406 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4411, allocations: 4.625 kB / 0.5538 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4412, allocations: 48.84 kB / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.4413, allocations: 4.75 kB / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.4414, allocations: 9.125 kB / 0.5538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.4414, allocations: 12.17 kB / 0.5538 GB, free: 7.48 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.0001846/0.4416, allocations: 162.8 kB / 0.554 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.4416, allocations: 31.16 kB / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.442, allocations: 196 kB / 0.5542 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.442, allocations: 6.062 kB / 0.5542 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.442, allocations: 1.125 kB / 0.5542 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.442, allocations: 1.094 kB / 0.5542 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.4427, allocations: 484.9 kB / 0.5547 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4428, allocations: 0 / 0.5547 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.4429, allocations: 27.3 kB / 0.5547 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4429, allocations: 1.031 kB / 0.5547 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4429, allocations: 2.344 kB / 0.5547 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4429, allocations: 1.125 kB / 0.5547 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4429, allocations: 4.875 kB / 0.5547 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4433, allocations: 309 kB / 0.555 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.4434, allocations: 27.77 kB / 0.555 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.4434, allocations: 5.312 kB / 0.555 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4435, allocations: 5.188 kB / 0.555 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4435, allocations: 16.69 kB / 0.5551 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4436, allocations: 8.312 kB / 0.5551 GB, free: 6.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.4438, allocations: 181.1 kB / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4438, allocations: 0 / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.4441, allocations: 52.41 kB / 0.5553 GB, free: 6.383 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.0001199/0.4442, allocations: 100.3 kB / 0.5554 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.4446, allocations: 151.7 kB / 0.5555 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4446, allocations: 1.125 kB / 0.5555 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4447, allocations: 70.45 kB / 0.5556 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.4452, allocations: 61.3 kB / 0.5557 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.4461, allocations: 0.5386 MB / 0.5562 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.4463, allocations: 170.2 kB / 0.5564 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.4465, allocations: 46.25 kB / 0.5564 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.4466, allocations: 23.42 kB / 0.5564 GB, free: 5.367 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4466, allocations: 3.938 kB / 0.5564 GB, free: 5.363 MB / 398.1 MB Notification: Performance of Templates: time 0.006574/0.4531, allocations: 2.603 MB / 0.559 GB, free: 2.809 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.392014238983393] Failed to read output from testmodel.py, exit status != 0: 0.46328157745301723 0.47775811399999996 0.041648267 Calling exit ...