Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.001349/0.001349, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.00243/0.00243, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.501/1.501, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.18/0.18, allocations: 29.43 MB / 290.7 MB, free: 3.258 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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [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.002216/0.002216, allocations: 63.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.385, allocations: 62.43 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005053/0.39, allocations: 4.589 MB / 498.2 MB, free: 34.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.392, allocations: 1.295 MB / 499.5 MB, free: 33.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.3922, allocations: 18.38 kB / 499.5 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3933, allocations: 386.1 kB / 499.9 MB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.3938, allocations: 243.4 kB / 0.4884 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.3943, allocations: 177.7 kB / 0.4886 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.3947, allocations: 0.5578 MB / 0.4891 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.3951, allocations: 267.9 kB / 0.4894 GB, free: 33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.3954, allocations: 259.6 kB / 0.4896 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.3958, allocations: 274.5 kB / 0.4899 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.3959, allocations: 32.47 kB / 0.4899 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.3961, allocations: 132.9 kB / 0.4901 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3963, allocations: 196.6 kB / 0.4903 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3964, allocations: 179.3 kB / 0.4904 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.3969, allocations: 0.5364 MB / 0.491 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3969, allocations: 0 / 0.491 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3969, allocations: 0 / 0.491 GB, free: 32.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3969, allocations: 3.188 kB / 0.491 GB, free: 32.39 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009483/0.3979, allocations: 0.6524 MB / 0.4916 GB, free: 31.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3979, allocations: 13.23 kB / 0.4916 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006519/0.3985, allocations: 92.83 kB / 0.4917 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.3991, allocations: 355.7 kB / 0.492 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3991, allocations: 29.52 kB / 0.4921 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3992, allocations: 50.08 kB / 0.4921 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005958/0.3998, allocations: 477.9 kB / 0.4926 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3999, allocations: 3.938 kB / 0.4926 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.3999, allocations: 18.89 kB / 0.4926 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-05/0.4, allocations: 25.83 kB / 0.4926 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.4004, allocations: 340.4 kB / 0.4929 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.4021, allocations: 1.423 MB / 0.4943 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.4024, allocations: 162.5 kB / 0.4945 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.4026, allocations: 103.9 kB / 0.4946 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4026, allocations: 7 kB / 0.4946 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4026, allocations: 42.03 kB / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.4026, allocations: 0 / 0.4946 GB, free: 30.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=20): time 0.001135/0.4037, allocations: 0.7139 MB / 0.4953 GB, free: 29.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4038, allocations: 80.17 kB / 0.4954 GB, free: 29.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.404, allocations: 302.9 kB / 0.4957 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.404, allocations: 25.7 kB / 0.4957 GB, free: 29.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4041, allocations: 257.5 kB / 0.496 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.4042, allocations: 79.97 kB / 0.496 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/0.4043, allocations: 66.56 kB / 0.4961 GB, free: 29.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.4043, allocations: 336.4 kB / 0.4964 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.4045, allocations: 98.09 kB / 0.4965 GB, free: 28.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4046, allocations: 194.8 kB / 0.4967 GB, free: 28.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.405, allocations: 335.4 kB / 0.497 GB, free: 28.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.405, allocations: 0 / 0.497 GB, free: 28.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006847/0.4057, allocations: 426.9 kB / 0.4974 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4057, allocations: 9.188 kB / 0.4974 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004292/0.4061, allocations: 267.9 kB / 0.4977 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.4064, allocations: 77.67 kB / 0.4978 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.4067, allocations: 67.16 kB / 0.4978 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.4079, allocations: 1.571 MB / 0.4994 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.4081, allocations: 17.89 kB / 0.4994 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4081, allocations: 9.594 kB / 0.4994 GB, free: 26.62 MB / 446.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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.4082, allocations: 199.5 kB / 0.4996 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.4083, allocations: 35.84 kB / 0.4996 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.4086, allocations: 265 kB / 0.4999 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4086, allocations: 3.25 kB / 0.4999 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.4086, allocations: 0 / 0.4999 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4086, allocations: 3.25 kB / 0.4999 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.4095, allocations: 0.6363 MB / 0.5005 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4095, allocations: 3.516 kB / 0.5005 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4097, allocations: 58.58 kB / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4097, allocations: 3.094 kB / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.4098, allocations: 7.031 kB / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4098, allocations: 4 kB / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4098, allocations: 3.125 kB / 0.5006 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.4102, allocations: 460.4 kB / 0.501 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.4102, allocations: 28.75 kB / 0.501 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.4103, allocations: 11.22 kB / 0.501 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4104, allocations: 7.156 kB / 0.5011 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.4105, allocations: 14.08 kB / 0.5011 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4105, allocations: 13.78 kB / 0.5011 GB, free: 25.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.4106, allocations: 210.7 kB / 0.5013 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4107, allocations: 0 / 0.5013 GB, free: 25.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000405/0.4111, allocations: 85.5 kB / 0.5014 GB, free: 25.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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 9.875e-05/0.4112, allocations: 99.91 kB / 0.5015 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.4117, allocations: 367.8 kB / 0.5018 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4117, allocations: 4.062 kB / 0.5018 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4119, allocations: 99.22 kB / 0.5019 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.4123, allocations: 71.19 kB / 0.502 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4135, allocations: 0.9193 MB / 0.5029 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4137, allocations: 246 kB / 0.5031 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.4139, allocations: 73.88 kB / 0.5032 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.414, allocations: 28 kB / 0.5032 GB, free: 24.42 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.414, allocations: 0 / 0.5032 GB, free: 24.42 MB / 446.1 MB Notification: Performance of Templates: time 0.007374/0.4213, allocations: 3.498 MB / 0.5066 GB, free: 23.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.983555319951847] Failed to read output from testmodel.py, exit status != 0: 0.43050437595229596 0.44550514900000004 0.045802441000000006 Calling exit ...