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.0007908/0.0007908, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00326/0.00326, allocations: 162.9 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8744/0.8744, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2091/0.2091, allocations: 29.41 MB / 290.8 MB, free: 2.418 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.113e-06/2.113e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.191e-05, allocations: 10.22 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004189/0.004221, allocations: 4.242 MB / 435.7 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.005583, allocations: 0.9115 MB / 436.6 MB, free: 7.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.005776, allocations: 15.88 kB / 436.6 MB, free: 7.867 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.005963, allocations: 63.42 kB / 436.7 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.006579, allocations: 246.6 kB / 437 MB, free: 7.562 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.006836, allocations: 99.73 kB / 437.1 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.007357, allocations: 0.5137 MB / 437.6 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.007567, allocations: 92.33 kB / 437.7 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.00803, allocations: 303 kB / 437.9 MB, free: 6.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.008368, allocations: 255.3 kB / 438.2 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.008404, allocations: 24 kB / 438.2 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.008445, allocations: 24 kB / 438.2 MB, free: 6.262 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.008561, allocations: 159.6 kB / 438.4 MB, free: 6.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.849e-05/0.008659, allocations: 119.8 kB / 438.5 MB, free: 5.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.009037, allocations: 370.7 kB / 438.9 MB, free: 5.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.009042, allocations: 0 / 438.9 MB, free: 5.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.009044, allocations: 0 / 438.9 MB, free: 5.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.009052, allocations: 0 / 438.9 MB, free: 5.625 MB / 410.7 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.0009101/0.009962, allocations: 0.5915 MB / 439.5 MB, free: 5.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.01, allocations: 11.98 kB / 439.5 MB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.01007, allocations: 44.66 kB / 439.5 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.01049, allocations: 315.5 kB / 439.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.01051, allocations: 16.88 kB / 439.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.01055, allocations: 28.36 kB / 439.9 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.01092, allocations: 357 kB / 440.2 MB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.01093, allocations: 0 / 440.2 MB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.01095, allocations: 12 kB / 440.2 MB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-05/0.01103, allocations: 32.47 kB / 440.3 MB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.01129, allocations: 233.7 kB / 440.5 MB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.01242, allocations: 1.227 MB / 441.7 MB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.0127, allocations: 165 kB / 441.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.01284, allocations: 93.73 kB / 442 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.01286, allocations: 4 kB / 442 MB, free: 2.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.01288, allocations: 34.56 kB / 442 MB, free: 2.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/0.01288, allocations: 0 / 442 MB, free: 2.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009603/0.01384, allocations: 0.6173 MB / 442.6 MB, free: 1.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.01389, allocations: 85.05 kB / 442.7 MB, free: 1.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.0141, allocations: 300.5 kB / 443 MB, free: 1.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.01412, allocations: 33.83 kB / 443 MB, free: 1.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01422, allocations: 220 kB / 443.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.01426, allocations: 55.53 kB / 443.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.01432, allocations: 57.59 kB / 443.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01442, allocations: 334.8 kB / 443.7 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.0145, allocations: 67.89 kB / 443.8 MB, free: 484 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.01461, allocations: 172.8 kB / 443.9 MB, free: 264 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1814/0.196, allocations: 253 kB / 444.2 MB, free: 54.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.196, allocations: 0.5312 kB / 444.2 MB, free: 54.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004627/0.1965, allocations: 318.1 kB / 444.5 MB, free: 54.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1965, allocations: 10.47 kB / 444.5 MB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1965, allocations: 2.938 kB / 444.5 MB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.1967, allocations: 52.83 kB / 444.6 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1968, allocations: 47.45 kB / 444.6 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007482/0.1976, allocations: 1.476 MB / 446.1 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1977, allocations: 11.88 kB / 446.1 MB, free: 53.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1977, allocations: 16.31 kB / 446.1 MB, free: 53.26 MB / 410.7 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.0001335/0.1978, allocations: 174.1 kB / 446.3 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1978, allocations: 33.05 kB / 446.3 MB, free: 53.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.1981, allocations: 237.3 kB / 446.5 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1981, allocations: 3.25 kB / 446.5 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1981, allocations: 7.016 kB / 446.5 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1981, allocations: 1.547 kB / 446.6 MB, free: 53.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1986, allocations: 0.5443 MB / 447.1 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1986, allocations: 0 / 447.1 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.1987, allocations: 22.53 kB / 447.1 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.1988, allocations: 61.62 kB / 447.2 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1988, allocations: 3.281 kB / 447.2 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005482/0.1993, allocations: 1.477 MB / 448.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1993, allocations: 5.469 kB / 448.7 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1996, allocations: 408 kB / 449.1 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.1996, allocations: 22.06 kB / 449.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1996, allocations: 9.344 kB / 449.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1997, allocations: 6.766 kB / 449.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.1997, allocations: 17.14 kB / 449.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.1997, allocations: 3.125 kB / 449.1 MB, free: 51.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1998, allocations: 213.5 kB / 449.3 MB, free: 51.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1998, allocations: 0 / 449.3 MB, free: 51.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.2001, allocations: 71.78 kB / 449.4 MB, free: 51.14 MB / 410.7 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 9.336e-05/0.2002, allocations: 95.2 kB / 449.5 MB, free: 51.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.2005, allocations: 306.7 kB / 449.8 MB, free: 50.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2005, allocations: 3.156 kB / 449.8 MB, free: 50.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2007, allocations: 199.8 kB / 450 MB, free: 50.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.201, allocations: 75.12 kB / 450.1 MB, free: 50.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.2018, allocations: 0.707 MB / 450.8 MB, free: 50.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2019, allocations: 206 kB / 451 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.2019, allocations: 22.72 kB / 451 MB, free: 50.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2019, allocations: 4.312 kB / 451 MB, free: 50.25 MB / 410.7 MB Notification: Performance of Templates: time 0.004262/0.2062, allocations: 5.087 MB / 456.1 MB, free: 49.88 MB / 410.7 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: 5.217009146697819] Failed to read output from testmodel.py, exit status != 0: 0.2117997845634818 0.21846636100000003 0.207867515 Calling exit ...