Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.001239/0.001239, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.00138/0.00138, allocations: 211 kB / 23.79 MB, free: 4.414 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.349/1.349, allocations: 230.6 MB / 257.6 MB, free: 7.812 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.03389/0.03389, allocations: 6.142 MB / 320.1 MB, free: 12.76 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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 51.92 kB / 445.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09447, allocations: 55.02 MB / 0.489 GB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002526/0.097, allocations: 1.106 MB / 0.49 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.09897, allocations: 1.489 MB / 0.4915 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.09903, allocations: 4 kB / 0.4915 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.09935, allocations: 99.48 kB / 0.4916 GB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.09957, allocations: 79.47 kB / 0.4917 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1011, allocations: 0.8092 MB / 0.4925 GB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1014, allocations: 159.2 kB / 0.4926 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1015, allocations: 29.67 kB / 0.4926 GB, free: 9.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.1016, allocations: 67.78 kB / 0.4927 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1017, allocations: 75.61 kB / 0.4928 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.1017, allocations: 12 kB / 0.4928 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1021, allocations: 199.8 kB / 0.493 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.1021, allocations: 27.92 kB / 0.493 GB, free: 9.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.1022, allocations: 67.64 kB / 0.4931 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.1026, allocations: 315 kB / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1027, allocations: 0 / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1027, allocations: 0 / 0.4934 GB, free: 8.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1027, allocations: 0 / 0.4934 GB, free: 8.949 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.001617/0.1043, allocations: 0.5638 MB / 0.4939 GB, free: 8.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1043, allocations: 12.02 kB / 0.4939 GB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.1044, allocations: 16.84 kB / 0.4939 GB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1046, allocations: 173 kB / 0.4941 GB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1046, allocations: 8.609 kB / 0.4941 GB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1046, allocations: 12.38 kB / 0.4941 GB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.105, allocations: 259.7 kB / 0.4944 GB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.105, allocations: 12.12 kB / 0.4944 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.105, allocations: 11.92 kB / 0.4944 GB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.105, allocations: 4 kB / 0.4944 GB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.1053, allocations: 163.9 kB / 0.4946 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.1062, allocations: 496.1 kB / 0.495 GB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.1067, allocations: 189.5 kB / 0.4952 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1068, allocations: 84.83 kB / 0.4953 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.1069, allocations: 4 kB / 0.4953 GB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1069, allocations: 34.56 kB / 0.4953 GB, free: 6.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1069, allocations: 0 / 0.4953 GB, free: 6.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.00163/0.1085, allocations: 0.4943 MB / 0.4958 GB, free: 6.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1086, allocations: 51.41 kB / 0.4959 GB, free: 6.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1087, allocations: 167.8 kB / 0.496 GB, free: 6.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1088, allocations: 33.7 kB / 0.4961 GB, free: 6.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.1088, allocations: 116.4 kB / 0.4962 GB, free: 5.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.1089, allocations: 55.53 kB / 0.4962 GB, free: 5.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.109, allocations: 45.7 kB / 0.4963 GB, free: 5.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1091, allocations: 318.8 kB / 0.4966 GB, free: 5.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1093, allocations: 99.97 kB / 0.4967 GB, free: 5.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1094, allocations: 99.62 kB / 0.4968 GB, free: 5.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.1097, allocations: 212.7 kB / 0.497 GB, free: 5.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1097, allocations: 4 kB / 0.497 GB, free: 5.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008231/0.1106, allocations: 384.8 kB / 0.4973 GB, free: 4.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1106, allocations: 4 kB / 0.4973 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1106, allocations: 0 / 0.4973 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.1112, allocations: 140.7 kB / 0.4975 GB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1113, allocations: 35.86 kB / 0.4975 GB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.1138, allocations: 1.887 MB / 0.4993 GB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.114, allocations: 28.02 kB / 0.4994 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.114, allocations: 8 kB / 0.4994 GB, free: 2.5 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1141, allocations: 125.8 kB / 0.4995 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.1142, allocations: 15.84 kB / 0.4995 GB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.115, allocations: 359.2 kB / 0.4999 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.115, allocations: 7.938 kB / 0.4999 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.115, allocations: 4 kB / 0.4999 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.115, allocations: 0 / 0.4999 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1153, allocations: 197.1 kB / 0.5001 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1153, allocations: 3.984 kB / 0.5001 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1154, allocations: 23.92 kB / 0.5001 GB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/0.1159, allocations: 136.7 kB / 0.5002 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.116, allocations: 3.984 kB / 0.5002 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.1183, allocations: 1.863 MB / 0.502 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1183, allocations: 0 / 0.502 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.1191, allocations: 423.9 kB / 0.5024 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.1192, allocations: 23.83 kB / 0.5025 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1192, allocations: 8.062 kB / 0.5025 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1193, allocations: 4 kB / 0.5025 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.1194, allocations: 15.97 kB / 0.5025 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1194, allocations: 4 kB / 0.5025 GB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1195, allocations: 131.2 kB / 0.5026 GB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1195, allocations: 0 / 0.5026 GB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.1199, allocations: 63.98 kB / 0.5027 GB, free: 14.94 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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001659/0.12, allocations: 107.2 kB / 0.5028 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.1208, allocations: 370.4 kB / 0.5031 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1208, allocations: 0 / 0.5031 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.1212, allocations: 253.4 kB / 0.5034 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1215, allocations: 23.88 kB / 0.5034 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.1222, allocations: 397.5 kB / 0.5038 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.1223, allocations: 102 kB / 0.5039 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.1224, allocations: 23.44 kB / 0.5039 GB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1224, allocations: 0 / 0.5039 GB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.005316/0.1277, allocations: 3.154 MB / 0.507 GB, free: 10.46 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.620409119874239] Failed to read output from testmodel.py, exit status != 0: 0.13520583510398865 0.296040136 0.190916574 Calling exit ...