Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.00146/0.00146, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001633/0.001633, allocations: 202.8 kB / 23.77 MB, free: 4.508 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.34/1.34, allocations: 230.6 MB / 257.6 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 179] 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.034/0.034, allocations: 6.126 MB / 320.1 MB, free: 12.73 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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.92 kB / 445.7 MB, free: 4.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.09046, allocations: 55.02 MB / 0.489 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002641/0.0931, allocations: 1.487 MB / 0.4904 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.09515, allocations: 1.559 MB / 0.4919 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.714e-05/0.09523, allocations: 4 kB / 0.4919 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.09555, allocations: 123.3 kB / 0.4921 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.09584, allocations: 123.2 kB / 0.4922 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.09743, allocations: 0.8364 MB / 0.493 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.09777, allocations: 258.8 kB / 0.4932 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.09791, allocations: 64.72 kB / 0.4933 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.09803, allocations: 107.6 kB / 0.4934 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.09822, allocations: 127.4 kB / 0.4935 GB, free: 8.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.09826, allocations: 20 kB / 0.4935 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.09861, allocations: 207.8 kB / 0.4937 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.09866, allocations: 55.77 kB / 0.4938 GB, free: 8.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.09876, allocations: 99.52 kB / 0.4939 GB, free: 8.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005085/0.09927, allocations: 410.5 kB / 0.4943 GB, free: 7.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.09928, allocations: 4 kB / 0.4943 GB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09928, allocations: 0 / 0.4943 GB, free: 7.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09928, allocations: 0 / 0.4943 GB, free: 7.965 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00251/0.1018, allocations: 0.7936 MB / 0.4951 GB, free: 7.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1018, allocations: 12.03 kB / 0.4951 GB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.1019, allocations: 24.8 kB / 0.4951 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1022, allocations: 203.8 kB / 0.4953 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.1022, allocations: 16.81 kB / 0.4953 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.1023, allocations: 24.36 kB / 0.4953 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.1028, allocations: 394.6 kB / 0.4957 GB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1028, allocations: 4.125 kB / 0.4957 GB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.1028, allocations: 19.94 kB / 0.4957 GB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1028, allocations: 4 kB / 0.4957 GB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.1033, allocations: 285.6 kB / 0.496 GB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.1048, allocations: 0.7401 MB / 0.4967 GB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.1057, allocations: 346.7 kB / 0.4971 GB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.1059, allocations: 160.8 kB / 0.4972 GB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.106, allocations: 8.5 kB / 0.4972 GB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.106, allocations: 30.56 kB / 0.4973 GB, free: 4.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.106, allocations: 0 / 0.4973 GB, free: 4.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002947/0.109, allocations: 0.892 MB / 0.4981 GB, free: 3.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.109, allocations: 55.41 kB / 0.4982 GB, free: 3.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1093, allocations: 219.7 kB / 0.4984 GB, free: 3.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1093, allocations: 33.7 kB / 0.4984 GB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.1094, allocations: 136.9 kB / 0.4985 GB, free: 3.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.1095, allocations: 111 kB / 0.4987 GB, free: 3.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.1096, allocations: 81.58 kB / 0.4987 GB, free: 3.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1098, allocations: 330.8 kB / 0.499 GB, free: 2.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.11, allocations: 179.9 kB / 0.4992 GB, free: 2.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.1103, allocations: 187.9 kB / 0.4994 GB, free: 2.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.1109, allocations: 393.4 kB / 0.4998 GB, free: 2.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1109, allocations: 4 kB / 0.4998 GB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001421/0.1123, allocations: 0.654 MB / 0.5004 GB, free: 1.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1123, allocations: 4 kB / 0.5004 GB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1123, allocations: 11.94 kB / 0.5004 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.1134, allocations: 232.6 kB / 0.5007 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.1136, allocations: 55.91 kB / 0.5007 GB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.1173, allocations: 2.522 MB / 0.5032 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.1176, allocations: 35.67 kB / 0.5032 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.1176, allocations: 15.98 kB / 0.5032 GB, free: 14.5 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.1177, allocations: 141.7 kB / 0.5034 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.1178, allocations: 23.86 kB / 0.5034 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.1192, allocations: 0.5947 MB / 0.504 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1192, allocations: 8 kB / 0.504 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1192, allocations: 0 / 0.504 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1192, allocations: 0 / 0.504 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.1209, allocations: 0.9252 MB / 0.5049 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1209, allocations: 0 / 0.5049 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1211, allocations: 35.92 kB / 0.5049 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009315/0.122, allocations: 240.6 kB / 0.5051 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.122, allocations: 8 kB / 0.5051 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.1255, allocations: 2.496 MB / 0.5076 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1255, allocations: 0 / 0.5076 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.1268, allocations: 0.6453 MB / 0.5082 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.1268, allocations: 27.78 kB / 0.5082 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1268, allocations: 11.94 kB / 0.5082 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1271, allocations: 19.61 kB / 0.5083 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.1271, allocations: 23.89 kB / 0.5083 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.1271, allocations: 16 kB / 0.5083 GB, free: 9.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.1273, allocations: 174.7 kB / 0.5085 GB, free: 8.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1273, allocations: 0 / 0.5085 GB, free: 8.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.1277, allocations: 111.9 kB / 0.5086 GB, free: 8.828 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.1279, allocations: 107.3 kB / 0.5087 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1291, allocations: 0.5846 MB / 0.5092 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1291, allocations: 0 / 0.5092 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007989/0.1299, allocations: 394.9 kB / 0.5096 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1302, allocations: 26.95 kB / 0.5096 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.1312, allocations: 0.5539 MB / 0.5102 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.1313, allocations: 142.7 kB / 0.5103 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1314, allocations: 27.42 kB / 0.5104 GB, free: 6.918 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1314, allocations: 0 / 0.5104 GB, free: 6.918 MB / 382.1 MB Notification: Performance of Templates: time 0.007184/0.1386, allocations: 4.81 MB / 0.515 GB, free: 2.105 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.71829890133813] Failed to read output from testmodel.py, exit status != 0: 0.145413710270077 0.299644705 0.19813528100000002 Calling exit ...