Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001748/0.001748, allocations: 113 kB / 20.5 MB, free: 1.453 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.001564/0.001564, allocations: 213.4 kB / 23.8 MB, free: 4.668 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.427/1.427, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03571/0.03571, allocations: 6.137 MB / 320.1 MB, free: 12.95 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 43.92 kB / 445.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09098, allocations: 55.03 MB / 0.489 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002278/0.09326, allocations: 1.133 MB / 0.4902 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.09518, allocations: 1.516 MB / 0.4916 GB, free: 11.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.09525, allocations: 4 kB / 0.4916 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.09558, allocations: 103.5 kB / 0.4917 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.09578, allocations: 71.55 kB / 0.4918 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.09692, allocations: 0.6068 MB / 0.4924 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.09714, allocations: 131.4 kB / 0.4925 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.09726, allocations: 41.17 kB / 0.4926 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.772e-05/0.09733, allocations: 55.78 kB / 0.4926 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.09744, allocations: 71.69 kB / 0.4927 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.09746, allocations: 12 kB / 0.4927 GB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.09776, allocations: 171.8 kB / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.09779, allocations: 23.92 kB / 0.4929 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.09786, allocations: 67.66 kB / 0.4929 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.09824, allocations: 271.1 kB / 0.4932 GB, free: 9.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09825, allocations: 0 / 0.4932 GB, free: 9.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09825, allocations: 0 / 0.4932 GB, free: 9.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.09825, allocations: 3.938 kB / 0.4932 GB, free: 9.477 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001538/0.09979, allocations: 0.5249 MB / 0.4937 GB, free: 8.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.09982, allocations: 8.031 kB / 0.4937 GB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.09988, allocations: 16.84 kB / 0.4937 GB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1001, allocations: 158.3 kB / 0.4939 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1001, allocations: 8.609 kB / 0.4939 GB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1001, allocations: 12.38 kB / 0.4939 GB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.1004, allocations: 170.6 kB / 0.4941 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1004, allocations: 4.188 kB / 0.4941 GB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.1005, allocations: 11.88 kB / 0.4941 GB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1005, allocations: 4 kB / 0.4941 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.1007, allocations: 159.9 kB / 0.4942 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009153/0.1016, allocations: 0.5345 MB / 0.4948 GB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.1019, allocations: 150.5 kB / 0.4949 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.102, allocations: 60.86 kB / 0.495 GB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.102, allocations: 7.984 kB / 0.495 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1021, allocations: 38.56 kB / 0.495 GB, free: 7.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.1021, allocations: 0 / 0.495 GB, free: 7.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009547/0.103, allocations: 306.3 kB / 0.4953 GB, free: 7.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1031, allocations: 55.66 kB / 0.4954 GB, free: 7.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1032, allocations: 176 kB / 0.4955 GB, free: 6.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1033, allocations: 29.7 kB / 0.4956 GB, free: 6.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.1033, allocations: 124.2 kB / 0.4957 GB, free: 6.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1034, allocations: 39.64 kB / 0.4957 GB, free: 6.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.1035, allocations: 49.7 kB / 0.4958 GB, free: 6.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1036, allocations: 322.8 kB / 0.4961 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1037, allocations: 87.97 kB / 0.4962 GB, free: 6.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1039, allocations: 99.89 kB / 0.4962 GB, free: 6.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.1042, allocations: 196.4 kB / 0.4964 GB, free: 5.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1042, allocations: 0 / 0.4964 GB, free: 5.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000571/0.1048, allocations: 306.2 kB / 0.4967 GB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1048, allocations: 8 kB / 0.4967 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1048, allocations: 3.984 kB / 0.4967 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.105, allocations: 48.77 kB / 0.4968 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1052, allocations: 39.97 kB / 0.4968 GB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.1067, allocations: 1.447 MB / 0.4982 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1069, allocations: 20.08 kB / 0.4983 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1069, allocations: 4 kB / 0.4983 GB, free: 3.996 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0001608/0.107, allocations: 125.8 kB / 0.4984 GB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.1071, allocations: 15.91 kB / 0.4984 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.1076, allocations: 227.2 kB / 0.4986 GB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1076, allocations: 7.938 kB / 0.4986 GB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1076, allocations: 4 kB / 0.4986 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1076, allocations: 3.938 kB / 0.4986 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1079, allocations: 244.5 kB / 0.4989 GB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1079, allocations: 0 / 0.4989 GB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.892e-05/0.108, allocations: 27.86 kB / 0.4989 GB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.1082, allocations: 44.83 kB / 0.4989 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1082, allocations: 8 kB / 0.4989 GB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.1096, allocations: 1.432 MB / 0.5003 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1096, allocations: 0 / 0.5003 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.1101, allocations: 313 kB / 0.5006 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.1101, allocations: 15.84 kB / 0.5006 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1101, allocations: 8.078 kB / 0.5007 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1103, allocations: 15.88 kB / 0.5007 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1103, allocations: 7.984 kB / 0.5007 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.1103, allocations: 0 / 0.5007 GB, free: 1.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1104, allocations: 134.1 kB / 0.5008 GB, free: 1.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1104, allocations: 0 / 0.5008 GB, free: 1.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.1107, allocations: 48 kB / 0.5009 GB, free: 1.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001814/0.1109, allocations: 115.2 kB / 0.501 GB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.1116, allocations: 302.6 kB / 0.5013 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1116, allocations: 4 kB / 0.5013 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.112, allocations: 194.6 kB / 0.5014 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.1122, allocations: 8 kB / 0.5014 GB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.1129, allocations: 336.3 kB / 0.5018 GB, free: 144 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1132, allocations: 0.7123 MB / 0.5025 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1133, allocations: 23.42 kB / 0.5025 GB, free: 15.38 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1133, allocations: 0 / 0.5025 GB, free: 15.38 MB / 382.1 MB Notification: Performance of Templates: time 0.005175/0.1184, allocations: 2.795 MB / 0.5052 GB, free: 12.59 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2822818260174245] Failed to read output from testmodel.py, exit status != 0: 0.1260059280321002 0.286133113 0.040163022 Calling exit ...