Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.001796/0.001796, allocations: 109.4 kB / 17.16 MB, free: 5.855 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.001793/0.001793, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04868/0.04868, allocations: 6.127 MB / 315.7 MB, free: 1.133 MB / 238.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.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 49.67 kB / 439.7 MB, free: 40.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1028, allocations: 54.98 MB / 494.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.002753/0.1055, allocations: 2.191 MB / 496.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.108, allocations: 1.727 MB / 498.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1081, allocations: 4 kB / 498.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.1086, allocations: 155.1 kB / 498.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.1092, allocations: 190.7 kB / 499 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1114, allocations: 0.9491 MB / 499.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.112, allocations: 422 kB / 0.4886 GB, free: 4.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1122, allocations: 91.22 kB / 0.4887 GB, free: 4.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1124, allocations: 171.4 kB / 0.4888 GB, free: 4.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1127, allocations: 215.1 kB / 0.4891 GB, free: 3.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.273e-05/0.1127, allocations: 32 kB / 0.4891 GB, free: 3.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.1133, allocations: 227.8 kB / 0.4893 GB, free: 3.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.1134, allocations: 91.59 kB / 0.4894 GB, free: 3.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.1136, allocations: 183.1 kB / 0.4896 GB, free: 3.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007564/0.1143, allocations: 0.5565 MB / 0.4901 GB, free: 2.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1143, allocations: 0 / 0.4901 GB, free: 2.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1143, allocations: 0 / 0.4901 GB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1143, allocations: 0 / 0.4901 GB, free: 2.789 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.005998/0.1203, allocations: 1.161 MB / 0.4912 GB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/0.1204, allocations: 8.031 kB / 0.4912 GB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.1206, allocations: 48.66 kB / 0.4913 GB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.1212, allocations: 323.6 kB / 0.4916 GB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1212, allocations: 20.94 kB / 0.4916 GB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.1213, allocations: 32.38 kB / 0.4917 GB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.1222, allocations: 417.3 kB / 0.4921 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1222, allocations: 192 / 0.4921 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.1223, allocations: 11.94 kB / 0.4921 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1223, allocations: 11.98 kB / 0.4921 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.1231, allocations: 414.1 kB / 0.4925 GB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.1266, allocations: 1.53 MB / 0.494 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.1284, allocations: 0.5045 MB / 0.4945 GB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.1291, allocations: 253.5 kB / 0.4947 GB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.1292, allocations: 8.359 kB / 0.4947 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.1292, allocations: 38.94 kB / 0.4947 GB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.825e-06/0.1293, allocations: 0 / 0.4947 GB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.008279/0.1375, allocations: 1.635 MB / 0.4963 GB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.1377, allocations: 55.41 kB / 0.4964 GB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.1384, allocations: 270.7 kB / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.1385, allocations: 37.7 kB / 0.4967 GB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1387, allocations: 161.1 kB / 0.4968 GB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/0.139, allocations: 170.5 kB / 0.497 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/0.1393, allocations: 94.23 kB / 0.4971 GB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002564/0.1396, allocations: 338.8 kB / 0.4974 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/0.1404, allocations: 265 kB / 0.4977 GB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/0.1413, allocations: 272.9 kB / 0.4979 GB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.143, allocations: 0.582 MB / 0.4985 GB, free: 9.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.143, allocations: 0 / 0.4985 GB, free: 9.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00473/0.1477, allocations: 1.005 MB / 0.4995 GB, free: 8.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.1478, allocations: 4 kB / 0.4995 GB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.1478, allocations: 4 kB / 0.4995 GB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003684/0.1515, allocations: 430.1 kB / 0.4999 GB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.1521, allocations: 71.91 kB / 0.5 GB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.1666, allocations: 6.101 MB / 0.5059 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.1673, allocations: 39.67 kB / 0.506 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.1675, allocations: 16 kB / 0.506 GB, free: 1.727 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004304/0.1679, allocations: 158.3 kB / 0.5061 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.1681, allocations: 43.77 kB / 0.5062 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.1727, allocations: 0.9702 MB / 0.5071 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.1727, allocations: 4 kB / 0.5071 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1727, allocations: 4 kB / 0.5071 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.1727, allocations: 7.984 kB / 0.5071 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.174, allocations: 0.5599 MB / 0.5077 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.174, allocations: 3.938 kB / 0.5077 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.1744, allocations: 55.97 kB / 0.5077 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/0.1781, allocations: 422.1 kB / 0.5081 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.1781, allocations: 15.98 kB / 0.5082 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.1917, allocations: 6.026 MB / 0.514 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.1917, allocations: 7.969 kB / 0.514 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.1962, allocations: 1.006 MB / 0.515 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.1964, allocations: 120.7 kB / 0.5151 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1965, allocations: 11.94 kB / 0.5152 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.1972, allocations: 31.92 kB / 0.5152 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.1974, allocations: 36.38 kB / 0.5152 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.1975, allocations: 16 kB / 0.5152 GB, free: 7.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005135/0.198, allocations: 205.9 kB / 0.5154 GB, free: 7.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.198, allocations: 0 / 0.5154 GB, free: 7.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001291/0.1993, allocations: 163.9 kB / 0.5156 GB, free: 7.336 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003849/0.1997, allocations: 137 kB / 0.5157 GB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003943/0.2036, allocations: 1.025 MB / 0.5167 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.2036, allocations: 4 kB / 0.5167 GB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.2063, allocations: 0.7326 MB / 0.5174 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/0.2071, allocations: 55.19 kB / 0.5175 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.21, allocations: 0.7686 MB / 0.5182 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.2107, allocations: 0.8051 MB / 0.519 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003472/0.2111, allocations: 50.92 kB / 0.5191 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.2112, allocations: 31.44 kB / 0.5191 GB, free: 3.594 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2112, allocations: 0 / 0.5191 GB, free: 3.594 MB / 382.1 MB Notification: Performance of Templates: time 0.03752/0.2488, allocations: 11.02 MB / 0.5299 GB, free: 8.633 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.4105240404605865] Failed to read output from testmodel.py, exit status != 0: 0.2596513517200947 0.286530102 0.167794425 Calling exit ...