Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001783/0.001783, allocations: 105 kB / 20.49 MB, free: 1.457 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.001869/0.001869, allocations: 218.2 kB / 23.8 MB, free: 4.652 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.485/1.485, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.03518/0.03518, allocations: 6.125 MB / 320.1 MB, free: 12.97 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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 55.86 kB / 445.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09636, allocations: 55.02 MB / 0.489 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.00306/0.09941, allocations: 1.74 MB / 0.4907 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1018, allocations: 1.641 MB / 0.4923 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1019, allocations: 4 kB / 0.4923 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.1023, allocations: 139.2 kB / 0.4925 GB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.1027, allocations: 155.1 kB / 0.4926 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.1047, allocations: 1.057 MB / 0.4937 GB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.1052, allocations: 278.6 kB / 0.4939 GB, free: 8.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1053, allocations: 56.84 kB / 0.494 GB, free: 8.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1055, allocations: 111.6 kB / 0.4941 GB, free: 8.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1057, allocations: 147.3 kB / 0.4942 GB, free: 8.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.1057, allocations: 20 kB / 0.4942 GB, free: 8.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.1062, allocations: 247.8 kB / 0.4945 GB, free: 8.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.1063, allocations: 55.77 kB / 0.4945 GB, free: 8.109 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.1064, allocations: 131.3 kB / 0.4947 GB, free: 7.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.107, allocations: 462.4 kB / 0.4951 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.107, allocations: 0 / 0.4951 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.107, allocations: 0 / 0.4951 GB, free: 7.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.107, allocations: 8 kB / 0.4951 GB, free: 7.52 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004285/0.1113, allocations: 1.035 MB / 0.4961 GB, free: 6.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1114, allocations: 12.03 kB / 0.4961 GB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.1115, allocations: 28.75 kB / 0.4962 GB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1118, allocations: 217.9 kB / 0.4964 GB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1118, allocations: 24.75 kB / 0.4964 GB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.1118, allocations: 28.31 kB / 0.4964 GB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.1124, allocations: 355.7 kB / 0.4968 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1125, allocations: 192 / 0.4968 GB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1125, allocations: 11.94 kB / 0.4968 GB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1125, allocations: 4 kB / 0.4968 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/0.113, allocations: 303.3 kB / 0.4971 GB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1148, allocations: 0.9206 MB / 0.498 GB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.1157, allocations: 342.7 kB / 0.4983 GB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.1159, allocations: 160.8 kB / 0.4984 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008301/0.1167, allocations: 0.5864 MB / 0.499 GB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1168, allocations: 46.72 kB / 0.4991 GB, free: 3.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.1168, allocations: 0 / 0.4991 GB, free: 3.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003847/0.1206, allocations: 0.9789 MB / 0.5 GB, free: 2.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.1207, allocations: 110.8 kB / 0.5001 GB, free: 2.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1209, allocations: 228.9 kB / 0.5003 GB, free: 1.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.121, allocations: 33.7 kB / 0.5004 GB, free: 1.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1211, allocations: 152.7 kB / 0.5005 GB, free: 1.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.1212, allocations: 95.17 kB / 0.5006 GB, free: 1.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1213, allocations: 86.11 kB / 0.5007 GB, free: 1.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1215, allocations: 330.8 kB / 0.501 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.1218, allocations: 196.8 kB / 0.5012 GB, free: 1.059 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.1222, allocations: 271.1 kB / 0.5014 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.1229, allocations: 477 kB / 0.5019 GB, free: 296 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1229, allocations: 3.938 kB / 0.5019 GB, free: 292 kB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002361/0.1253, allocations: 0.8145 MB / 0.5027 GB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1253, allocations: 8 kB / 0.5027 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1253, allocations: 4 kB / 0.5027 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/0.1275, allocations: 413.2 kB / 0.5031 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.1279, allocations: 75.89 kB / 0.5032 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/0.1332, allocations: 3.82 MB / 0.5069 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1335, allocations: 39.67 kB / 0.5069 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.1336, allocations: 24.08 kB / 0.507 GB, free: 10.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * 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,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.1337, allocations: 145.7 kB / 0.5071 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.1338, allocations: 23.86 kB / 0.5071 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.136, allocations: 0.7447 MB / 0.5079 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.136, allocations: 0 / 0.5079 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.136, allocations: 4 kB / 0.5079 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.136, allocations: 0 / 0.5079 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1365, allocations: 392.2 kB / 0.5082 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1365, allocations: 0 / 0.5082 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1367, allocations: 43.92 kB / 0.5083 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.1387, allocations: 409.3 kB / 0.5087 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.1388, allocations: 8 kB / 0.5087 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.1439, allocations: 3.809 MB / 0.5124 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1439, allocations: 0 / 0.5124 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.146, allocations: 0.7667 MB / 0.5131 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.1461, allocations: 39.66 kB / 0.5132 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.1461, allocations: 4 kB / 0.5132 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1464, allocations: 19.09 kB / 0.5132 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.1465, allocations: 31.94 kB / 0.5132 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1465, allocations: 4 kB / 0.5132 GB, free: 4.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.1467, allocations: 160.5 kB / 0.5134 GB, free: 3.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1467, allocations: 0 / 0.5134 GB, free: 3.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.1472, allocations: 123.9 kB / 0.5135 GB, free: 3.824 MB / 382.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 (25): * Single equations (assignments): 23 * Array equations: 0 * 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,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.1474, allocations: 119.1 kB / 0.5136 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.1491, allocations: 0.7315 MB / 0.5143 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1491, allocations: 320 / 0.5143 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.1502, allocations: 0.5016 MB / 0.5148 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1505, allocations: 23.5 kB / 0.5149 GB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1516, allocations: 0.5732 MB / 0.5154 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.152, allocations: 0.761 MB / 0.5162 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.1521, allocations: 31.42 kB / 0.5162 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1521, allocations: 0 / 0.5162 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of Templates: time 0.175/0.3271, allocations: 6.411 MB / 0.5224 GB, free: 29.21 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.676927062915638] Failed to read output from testmodel.py, exit status != 0: 0.3344230121001601 0.34694036599999994 0.23722545 Calling exit ...