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.001401/0.001401, allocations: 115.2 kB / 17.85 MB, free: 5.184 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.001606/0.001606, allocations: 207.3 kB / 20.81 MB, free: 2.234 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.568/1.568, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.0424/0.0424, allocations: 6.133 MB / 316.4 MB, free: 1.102 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.001584/0.001584, allocations: 49.95 kB / 440.4 MB, free: 40.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09208, allocations: 54.98 MB / 495.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.002822/0.0949, allocations: 2.199 MB / 497.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.09696, allocations: 1.715 MB / 499.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.09726, allocations: 4 kB / 499.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.09772, allocations: 155.1 kB / 499.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.09823, allocations: 190.8 kB / 499.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.09977, allocations: 0.9494 MB / 0.4889 GB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.1003, allocations: 414 kB / 0.4893 GB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1005, allocations: 95.2 kB / 0.4893 GB, free: 4.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1007, allocations: 171.3 kB / 0.4895 GB, free: 4.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1009, allocations: 223.1 kB / 0.4897 GB, free: 3.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.101, allocations: 32 kB / 0.4898 GB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.1014, allocations: 227.8 kB / 0.49 GB, free: 3.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1014, allocations: 83.62 kB / 0.4901 GB, free: 3.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1016, allocations: 191 kB / 0.4902 GB, free: 3.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.1022, allocations: 0.5487 MB / 0.4908 GB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1022, allocations: 0 / 0.4908 GB, free: 2.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1022, allocations: 3.984 kB / 0.4908 GB, free: 2.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1022, allocations: 0 / 0.4908 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.003678/0.1059, allocations: 1.157 MB / 0.4919 GB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1059, allocations: 8.031 kB / 0.4919 GB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.106, allocations: 44.66 kB / 0.492 GB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1064, allocations: 339.6 kB / 0.4923 GB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1064, allocations: 24.94 kB / 0.4923 GB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.1065, allocations: 28.38 kB / 0.4923 GB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.107, allocations: 413.3 kB / 0.4927 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.107, allocations: 192 / 0.4927 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.1071, allocations: 15.94 kB / 0.4927 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1071, allocations: 8 kB / 0.4927 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.1075, allocations: 410.1 kB / 0.4931 GB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.11, allocations: 1.53 MB / 0.4946 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.1112, allocations: 0.5045 MB / 0.4951 GB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.1116, allocations: 249.5 kB / 0.4954 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-05/0.1117, allocations: 20.34 kB / 0.4954 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1117, allocations: 38.94 kB / 0.4954 GB, free: 13.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.784e-06/0.1117, allocations: 0 / 0.4954 GB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.005107/0.1168, allocations: 1.631 MB / 0.497 GB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1169, allocations: 59.41 kB / 0.4971 GB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.1172, allocations: 262.7 kB / 0.4973 GB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.1173, allocations: 37.7 kB / 0.4974 GB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1174, allocations: 165 kB / 0.4975 GB, free: 11.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.1176, allocations: 166.5 kB / 0.4977 GB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1178, allocations: 90.23 kB / 0.4978 GB, free: 11.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1179, allocations: 350.8 kB / 0.4981 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.1184, allocations: 257 kB / 0.4983 GB, free: 10.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.1188, allocations: 273 kB / 0.4986 GB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009483/0.1197, allocations: 0.5859 MB / 0.4992 GB, free: 9.828 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1198, allocations: 0 / 0.4992 GB, free: 9.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00272/0.1225, allocations: 1.005 MB / 0.5001 GB, free: 8.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1225, allocations: 7.984 kB / 0.5002 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.1225, allocations: 0 / 0.5002 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/0.1245, allocations: 426.1 kB / 0.5006 GB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.1248, allocations: 75.89 kB / 0.5006 GB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008037/0.1329, allocations: 6.093 MB / 0.5066 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.1333, allocations: 39.72 kB / 0.5066 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.1333, allocations: 16 kB / 0.5066 GB, free: 1.734 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.0002339/0.1336, allocations: 153.8 kB / 0.5068 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.1337, allocations: 43.64 kB / 0.5068 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.1362, allocations: 0.9858 MB / 0.5078 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1362, allocations: 11.98 kB / 0.5078 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1362, allocations: 0 / 0.5078 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1362, allocations: 3.984 kB / 0.5078 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.1369, allocations: 0.5599 MB / 0.5084 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1369, allocations: 0 / 0.5084 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1372, allocations: 59.91 kB / 0.5084 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.139, allocations: 422.1 kB / 0.5088 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.139, allocations: 16 kB / 0.5088 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007421/0.1465, allocations: 6.034 MB / 0.5147 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.1465, allocations: 7.922 kB / 0.5147 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.1489, allocations: 0.9941 MB / 0.5157 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1491, allocations: 124.8 kB / 0.5158 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.1491, allocations: 15.92 kB / 0.5158 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.1495, allocations: 27.92 kB / 0.5159 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.1496, allocations: 44.38 kB / 0.5159 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.1497, allocations: 12 kB / 0.5159 GB, free: 7.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002666/0.15, allocations: 194 kB / 0.5161 GB, free: 7.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.15, allocations: 0 / 0.5161 GB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006669/0.1506, allocations: 171.8 kB / 0.5163 GB, free: 7.332 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.0002454/0.1509, allocations: 127.2 kB / 0.5164 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.153, allocations: 1.037 MB / 0.5174 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.153, allocations: 4 kB / 0.5174 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.1545, allocations: 0.7287 MB / 0.5181 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1549, allocations: 48.53 kB / 0.5182 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1565, allocations: 0.8002 MB / 0.5189 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1569, allocations: 0.7935 MB / 0.5197 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.157, allocations: 43.42 kB / 0.5198 GB, free: 3.609 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.157, allocations: 0 / 0.5198 GB, free: 3.609 MB / 382.1 MB Notification: Performance of Templates: time 0.01378/0.1708, allocations: 9.917 MB / 0.5294 GB, free: 9.695 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 sys.exit(0), Time elapsed: 8.20411756899557] Failed to read output from testmodel.py, exit status != 0: 0.1789051879895851 0.19293589200000003 0.08777979000000001 Calling exit ...