Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001352/0.001352, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001451/0.001451, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1839/0.1839, allocations: 38.55 MB / 353.2 MB, free: 12.31 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [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.002183/0.002183, allocations: 71.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3824, allocations: 62.46 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006202/0.3886, allocations: 4.265 MB / 0.5473 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3905, allocations: 0.9059 MB / 0.5482 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.3907, allocations: 19.94 kB / 0.5482 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3909, allocations: 57.58 kB / 0.5483 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.3915, allocations: 241.2 kB / 0.5485 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.3918, allocations: 102.9 kB / 0.5486 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.3924, allocations: 0.4948 MB / 0.5491 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.3927, allocations: 94.73 kB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.3931, allocations: 242.1 kB / 0.5494 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.3935, allocations: 279.3 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.3936, allocations: 23.66 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.3936, allocations: 23 kB / 0.5497 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3938, allocations: 151.7 kB / 0.5499 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.394, allocations: 144.8 kB / 0.55 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3947, allocations: 377 kB / 0.5504 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.3947, allocations: 0.75 kB / 0.5504 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3947, allocations: 0 / 0.5504 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.3947, allocations: 1.062 kB / 0.5504 GB, free: 11.1 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00146/0.3962, allocations: 0.5924 MB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3963, allocations: 13.36 kB / 0.551 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3964, allocations: 42.11 kB / 0.551 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.397, allocations: 315 kB / 0.5513 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3971, allocations: 27.38 kB / 0.5513 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.3971, allocations: 24.81 kB / 0.5514 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.3978, allocations: 351.9 kB / 0.5517 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3978, allocations: 1.312 kB / 0.5517 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3978, allocations: 10.56 kB / 0.5517 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3979, allocations: 26.5 kB / 0.5517 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.3984, allocations: 240.6 kB / 0.552 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.4003, allocations: 1.241 MB / 0.5532 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.4007, allocations: 160.8 kB / 0.5533 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.4009, allocations: 89.73 kB / 0.5534 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4009, allocations: 2.406 kB / 0.5534 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.401, allocations: 36.84 kB / 0.5534 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.505e-06/0.401, allocations: 0 / 0.5534 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001441/0.4024, allocations: 0.625 MB / 0.5541 GB, free: 8.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.4025, allocations: 79.23 kB / 0.5541 GB, free: 8.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.4028, allocations: 300.2 kB / 0.5544 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.4028, allocations: 34.81 kB / 0.5545 GB, free: 7.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.403, allocations: 221.1 kB / 0.5547 GB, free: 7.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.4031, allocations: 55.06 kB / 0.5547 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.4031, allocations: 52.09 kB / 0.5548 GB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4033, allocations: 338.1 kB / 0.5551 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.4034, allocations: 68.33 kB / 0.5552 GB, free: 7.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.4036, allocations: 174 kB / 0.5553 GB, free: 7.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.404, allocations: 254.1 kB / 0.5556 GB, free: 6.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.404, allocations: 1.031 kB / 0.5556 GB, free: 6.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005323/0.4045, allocations: 319.2 kB / 0.5559 GB, free: 6.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4045, allocations: 6.781 kB / 0.5559 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4045, allocations: 3.531 kB / 0.5559 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/0.4048, allocations: 49.77 kB / 0.5559 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.405, allocations: 52.47 kB / 0.556 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.4065, allocations: 1.478 MB / 0.5574 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.4067, allocations: 27.89 kB / 0.5574 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.4067, allocations: 15.94 kB / 0.5575 GB, free: 5.094 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.4069, allocations: 169.7 kB / 0.5576 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.407, allocations: 27.86 kB / 0.5576 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.4074, allocations: 232.3 kB / 0.5579 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4074, allocations: 7.938 kB / 0.5579 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4074, allocations: 0 / 0.5579 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.4074, allocations: 0 / 0.5579 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.4083, allocations: 0.5543 MB / 0.5584 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4084, allocations: 3.984 kB / 0.5584 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4085, allocations: 20 kB / 0.5584 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.4087, allocations: 60.78 kB / 0.5585 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.4087, allocations: 8 kB / 0.5585 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.4101, allocations: 1.475 MB / 0.5599 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4101, allocations: 0 / 0.5599 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.4106, allocations: 413.2 kB / 0.5603 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.4107, allocations: 27.84 kB / 0.5604 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4108, allocations: 8 kB / 0.5604 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4109, allocations: 11.92 kB / 0.5604 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.4109, allocations: 11.98 kB / 0.5604 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4109, allocations: 7.984 kB / 0.5604 GB, free: 1.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.4112, allocations: 207.2 kB / 0.5606 GB, free: 1.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4112, allocations: 4 kB / 0.5606 GB, free: 1.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.4116, allocations: 68 kB / 0.5607 GB, free: 1.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001756/0.4118, allocations: 103.2 kB / 0.5608 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.4124, allocations: 307.2 kB / 0.5611 GB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4124, allocations: 0 / 0.5611 GB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.4129, allocations: 198.6 kB / 0.5613 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.4134, allocations: 64.39 kB / 0.5613 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4148, allocations: 0.7893 MB / 0.5621 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.415, allocations: 203.5 kB / 0.5623 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.4151, allocations: 27.42 kB / 0.5623 GB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.4151, allocations: 0 / 0.5623 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Templates: time 0.008366/0.4234, allocations: 5.04 MB / 0.5672 GB, free: 10.81 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.366946841124445] Failed to read output from testmodel.py, exit status != 0: 0.43236331176012754 0.44704657899999994 0.049186026 Calling exit ...