Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001286/0.001286, 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.001527/0.001527, allocations: 210.7 kB / 23.78 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.364/1.364, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.03449/0.03449, allocations: 6.148 MB / 320.1 MB, free: 12.75 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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 51.92 kB / 445.7 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09186, allocations: 55.01 MB / 0.489 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002553/0.09441, allocations: 1.382 MB / 0.4903 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.09641, allocations: 1.536 MB / 0.4918 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.09648, allocations: 4 kB / 0.4918 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.0968, allocations: 119.3 kB / 0.4919 GB, free: 10.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.09706, allocations: 115.3 kB / 0.492 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.09861, allocations: 0.8364 MB / 0.4928 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.09892, allocations: 226.9 kB / 0.4931 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.09905, allocations: 52.5 kB / 0.4931 GB, free: 9.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.09917, allocations: 99.58 kB / 0.4932 GB, free: 9.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.09935, allocations: 111.5 kB / 0.4933 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.09938, allocations: 16 kB / 0.4933 GB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.09972, allocations: 207.8 kB / 0.4935 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.09976, allocations: 39.84 kB / 0.4936 GB, free: 8.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.09986, allocations: 95.52 kB / 0.4937 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.1003, allocations: 398.7 kB / 0.494 GB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1003, allocations: 0 / 0.494 GB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1003, allocations: 0 / 0.494 GB, free: 8.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1004, allocations: 0 / 0.494 GB, free: 8.238 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002314/0.1027, allocations: 0.7468 MB / 0.4948 GB, free: 7.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1027, allocations: 8.031 kB / 0.4948 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.1028, allocations: 28.8 kB / 0.4948 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.103, allocations: 190.2 kB / 0.495 GB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1031, allocations: 16.7 kB / 0.495 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.1031, allocations: 16.38 kB / 0.495 GB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.1036, allocations: 371.4 kB / 0.4954 GB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1036, allocations: 192 / 0.4954 GB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.1036, allocations: 11.94 kB / 0.4954 GB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1036, allocations: 4 kB / 0.4954 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.104, allocations: 256.5 kB / 0.4956 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1052, allocations: 0.6755 MB / 0.4963 GB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.1059, allocations: 286.5 kB / 0.4966 GB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1061, allocations: 144.8 kB / 0.4967 GB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.1061, allocations: 7.938 kB / 0.4967 GB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1062, allocations: 42.5 kB / 0.4968 GB, free: 5.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.283e-06/0.1062, allocations: 0 / 0.4968 GB, free: 5.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002991/0.1092, allocations: 0.8806 MB / 0.4976 GB, free: 4.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1092, allocations: 59.41 kB / 0.4977 GB, free: 4.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1094, allocations: 200 kB / 0.4979 GB, free: 4.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1094, allocations: 29.7 kB / 0.4979 GB, free: 4.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.1095, allocations: 128.5 kB / 0.498 GB, free: 3.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.1096, allocations: 87.27 kB / 0.4981 GB, free: 3.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1097, allocations: 65.64 kB / 0.4982 GB, free: 3.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1099, allocations: 334.8 kB / 0.4985 GB, free: 3.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1101, allocations: 156 kB / 0.4986 GB, free: 3.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.1103, allocations: 159.8 kB / 0.4988 GB, free: 3.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.1108, allocations: 355.3 kB / 0.4991 GB, free: 2.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1108, allocations: 0 / 0.4991 GB, free: 2.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001479/0.1123, allocations: 0.6228 MB / 0.4997 GB, free: 2.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1123, allocations: 15.88 kB / 0.4997 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1123, allocations: 0 / 0.4997 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.1137, allocations: 320.5 kB / 0.5 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1138, allocations: 47.92 kB / 0.5001 GB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.1179, allocations: 2.602 MB / 0.5026 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.118, allocations: 23.89 kB / 0.5027 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1181, allocations: 12 kB / 0.5027 GB, free: 15.09 MB / 382.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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1182, allocations: 137.7 kB / 0.5028 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.1183, allocations: 19.86 kB / 0.5028 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.1198, allocations: 0.6209 MB / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1198, allocations: 4 kB / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1198, allocations: 0 / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1198, allocations: 0 / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.1201, allocations: 257 kB / 0.5037 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1201, allocations: 0 / 0.5037 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.1202, allocations: 31.98 kB / 0.5037 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.1215, allocations: 316.6 kB / 0.504 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1215, allocations: 7.984 kB / 0.504 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00373/0.1252, allocations: 2.558 MB / 0.5065 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1252, allocations: 3.938 kB / 0.5065 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.1266, allocations: 0.6598 MB / 0.5072 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.1267, allocations: 23.78 kB / 0.5072 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.1267, allocations: 7.938 kB / 0.5072 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.1269, allocations: 15.98 kB / 0.5072 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.127, allocations: 31.89 kB / 0.5072 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.127, allocations: 4 kB / 0.5072 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1272, allocations: 151.4 kB / 0.5074 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1272, allocations: 0 / 0.5074 GB, free: 10.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003956/0.1275, allocations: 95.95 kB / 0.5075 GB, free: 9.988 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 (20): * Single equations (assignments): 19 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.1277, allocations: 119.5 kB / 0.5076 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.129, allocations: 0.5927 MB / 0.5082 GB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.129, allocations: 4 kB / 0.5082 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009466/0.13, allocations: 434.2 kB / 0.5086 GB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1303, allocations: 26.8 kB / 0.5086 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.1312, allocations: 0.5285 MB / 0.5091 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.1313, allocations: 137.9 kB / 0.5093 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.1314, allocations: 27.42 kB / 0.5093 GB, free: 8.051 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1314, allocations: 0 / 0.5093 GB, free: 8.051 MB / 382.1 MB Notification: Performance of Templates: time 0.00663/0.138, allocations: 4.63 MB / 0.5138 GB, free: 3.426 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.732757484074682] Failed to read output from testmodel.py, exit status != 0: 0.1451425007544458 0.29558264799999995 0.192832727 Calling exit ...