Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001853/0.001853, allocations: 74.33 kB / 21.24 MB, free: 0.5469 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.002586/0.002586, allocations: 159.4 kB / 24.5 MB, free: 3.719 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.495/1.495, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.1816/0.1816, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [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.002062/0.002062, allocations: 63.89 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004926/0.3696, allocations: 4.306 MB / 497.9 MB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3717, allocations: 1.476 MB / 499.4 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.3718, allocations: 21.41 kB / 499.4 MB, free: 33.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.3728, allocations: 285.3 kB / 499.7 MB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.3733, allocations: 287.3 kB / 500 MB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.3739, allocations: 251.4 kB / 0.4885 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.3744, allocations: 0.6102 MB / 0.4891 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.3747, allocations: 196.6 kB / 0.4893 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.375, allocations: 281.1 kB / 0.4896 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.3755, allocations: 383.6 kB / 0.4899 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.3755, allocations: 39.56 kB / 0.49 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.3759, allocations: 231.2 kB / 0.4902 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3761, allocations: 237.3 kB / 0.4904 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.3763, allocations: 214.1 kB / 0.4906 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.3769, allocations: 0.6805 MB / 0.4913 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3769, allocations: 0 / 0.4913 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3769, allocations: 0 / 0.4913 GB, free: 32.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3769, allocations: 0 / 0.4913 GB, free: 32.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001181/0.3781, allocations: 0.7193 MB / 0.492 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3781, allocations: 17.23 kB / 0.492 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.3788, allocations: 133.3 kB / 0.4921 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.3794, allocations: 358.3 kB / 0.4925 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3794, allocations: 28.12 kB / 0.4925 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3795, allocations: 48.16 kB / 0.4925 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.3804, allocations: 0.6925 MB / 0.4932 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3804, allocations: 3.219 kB / 0.4932 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.3805, allocations: 15.33 kB / 0.4932 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.3807, allocations: 74.64 kB / 0.4933 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.3814, allocations: 0.6634 MB / 0.494 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.3841, allocations: 2.419 MB / 0.4963 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.3845, allocations: 300.1 kB / 0.4966 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.3847, allocations: 192.4 kB / 0.4968 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.3847, allocations: 6.75 kB / 0.4968 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3847, allocations: 45.72 kB / 0.4968 GB, free: 29.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/0.3848, allocations: 0 / 0.4968 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.001561/0.3863, allocations: 1.235 MB / 0.498 GB, free: 28.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3863, allocations: 80.27 kB / 0.4981 GB, free: 28.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3865, allocations: 280.5 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3866, allocations: 29.7 kB / 0.4984 GB, free: 28.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3867, allocations: 265.1 kB / 0.4987 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.3867, allocations: 142.2 kB / 0.4988 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/0.3868, allocations: 90.52 kB / 0.4989 GB, free: 27.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.3869, allocations: 342.8 kB / 0.4992 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.3871, allocations: 192.8 kB / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.3874, allocations: 328.4 kB / 0.4997 GB, free: 27.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.3879, allocations: 0.5536 MB / 0.5003 GB, free: 26.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3879, allocations: 3.938 kB / 0.5003 GB, free: 26.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009706/0.3888, allocations: 0.6758 MB / 0.5009 GB, free: 26.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3889, allocations: 9.844 kB / 0.5009 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006425/0.3895, allocations: 479.8 kB / 0.5014 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.3899, allocations: 115.2 kB / 0.5015 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3902, allocations: 92.16 kB / 0.5016 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.392, allocations: 2.997 MB / 0.5045 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.3923, allocations: 31.28 kB / 0.5045 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.3923, allocations: 18.75 kB / 0.5046 GB, free: 23.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.3925, allocations: 214.5 kB / 0.5048 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.3926, allocations: 42.89 kB / 0.5048 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.3931, allocations: 461.7 kB / 0.5052 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.3932, allocations: 8.375 kB / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3932, allocations: 0 / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3932, allocations: 6.656 kB / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3942, allocations: 0.8962 MB / 0.5061 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3942, allocations: 0 / 0.5061 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.3945, allocations: 71.36 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3945, allocations: 2.875 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3946, allocations: 7.156 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3946, allocations: 3.125 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3946, allocations: 3.938 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.3953, allocations: 0.7506 MB / 0.507 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3954, allocations: 63.95 kB / 0.507 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3954, allocations: 10.73 kB / 0.507 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.3956, allocations: 14.16 kB / 0.507 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3956, allocations: 25.11 kB / 0.5071 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3957, allocations: 9.594 kB / 0.5071 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.3958, allocations: 192.8 kB / 0.5073 GB, free: 22.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3958, allocations: 3.938 kB / 0.5073 GB, free: 22.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.3963, allocations: 119 kB / 0.5074 GB, free: 22.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.000178/0.3965, allocations: 144.1 kB / 0.5075 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.3973, allocations: 0.6761 MB / 0.5082 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3973, allocations: 0 / 0.5082 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3975, allocations: 200.9 kB / 0.5084 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.398, allocations: 65.5 kB / 0.5084 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3993, allocations: 1.115 MB / 0.5095 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.3995, allocations: 269.8 kB / 0.5098 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.3997, allocations: 107.2 kB / 0.5099 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.3998, allocations: 34.16 kB / 0.5099 GB, free: 21 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3998, allocations: 3.938 kB / 0.5099 GB, free: 21 MB / 446.1 MB Notification: Performance of Templates: time 0.008337/0.4082, allocations: 4.227 MB / 0.514 GB, free: 20.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.053297615959309] Failed to read output from testmodel.py, exit status != 0: 0.4163183970376849 0.42807283900000004 0.048543351000000005 Calling exit ...