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.001411/0.001411, allocations: 79.58 kB / 20.55 MB, free: 1.246 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.001432/0.001432, allocations: 167.1 kB / 23.81 MB, free: 4.43 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.501/1.501, allocations: 177.2 MB / 204.2 MB, free: 8.977 MB / 190.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.03789/0.03789, allocations: 4.479 MB / 265 MB, free: 12.17 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.001614/0.001614, allocations: 51.92 kB / 390.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, allocations: 54.99 MB / 445.6 MB, free: 6.781 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002929/0.1096, allocations: 1.496 MB / 447.1 MB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1119, allocations: 1.551 MB / 448.6 MB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.112, allocations: 8 kB / 448.7 MB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1124, allocations: 127.3 kB / 448.8 MB, free: 3.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1127, allocations: 115.2 kB / 448.9 MB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1144, allocations: 0.852 MB / 449.7 MB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.1148, allocations: 254.7 kB / 450 MB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1149, allocations: 64.77 kB / 450.1 MB, free: 2.301 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.115, allocations: 107.6 kB / 450.2 MB, free: 2.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1153, allocations: 123.4 kB / 450.3 MB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.1153, allocations: 20 kB / 450.3 MB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.1157, allocations: 211.8 kB / 450.5 MB, free: 1.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.1157, allocations: 51.83 kB / 450.6 MB, free: 1.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1158, allocations: 103.5 kB / 450.7 MB, free: 1.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.1164, allocations: 422.5 kB / 451.1 MB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1164, allocations: 3.938 kB / 451.1 MB, free: 1.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1164, allocations: 0 / 451.1 MB, free: 1.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1164, allocations: 0 / 451.1 MB, free: 1.277 MB / 414.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.002702/0.1191, allocations: 0.7859 MB / 451.9 MB, free: 468 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1191, allocations: 8.031 kB / 451.9 MB, free: 460 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.1192, allocations: 28.75 kB / 451.9 MB, free: 432 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1195, allocations: 211.4 kB / 452.1 MB, free: 192 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1196, allocations: 16.88 kB / 452.1 MB, free: 172 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.1196, allocations: 28.36 kB / 452.1 MB, free: 144 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.1202, allocations: 391.4 kB / 452.5 MB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1202, allocations: 4.188 kB / 452.5 MB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.1202, allocations: 11.94 kB / 452.5 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1202, allocations: 4 kB / 452.5 MB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.1207, allocations: 297.8 kB / 452.8 MB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1221, allocations: 0.7288 MB / 453.6 MB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/0.1231, allocations: 346.7 kB / 453.9 MB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1233, allocations: 160.8 kB / 454.1 MB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.1234, allocations: 8 kB / 454.1 MB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1234, allocations: 42.55 kB / 454.1 MB, free: 14.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.1234, allocations: 0 / 454.1 MB, free: 14.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=29): time 0.003025/0.1264, allocations: 0.8808 MB / 455 MB, free: 13.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1265, allocations: 55.41 kB / 455 MB, free: 13.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1268, allocations: 223.7 kB / 455.3 MB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.1268, allocations: 37.7 kB / 455.3 MB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1269, allocations: 136.8 kB / 455.4 MB, free: 12.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1271, allocations: 103.1 kB / 455.5 MB, free: 12.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1272, allocations: 73.67 kB / 455.6 MB, free: 12.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1274, allocations: 334.8 kB / 455.9 MB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.1277, allocations: 175.9 kB / 456.1 MB, free: 12.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.1279, allocations: 183.9 kB / 456.3 MB, free: 11.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.1286, allocations: 393.4 kB / 456.7 MB, free: 11.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1286, allocations: 0 / 456.7 MB, free: 11.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001533/0.1301, allocations: 0.6579 MB / 457.3 MB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1301, allocations: 8 kB / 457.3 MB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1301, allocations: 7.938 kB / 457.3 MB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.1313, allocations: 240.6 kB / 457.6 MB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1315, allocations: 51.92 kB / 457.6 MB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.1355, allocations: 2.521 MB / 460.2 MB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.1357, allocations: 43.66 kB / 460.2 MB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.1358, allocations: 12 kB / 460.2 MB, free: 7.836 MB / 430.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.0001955/0.136, allocations: 141.7 kB / 460.3 MB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.136, allocations: 23.86 kB / 460.4 MB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.1375, allocations: 0.5985 MB / 461 MB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1375, allocations: 4 kB / 461 MB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1375, allocations: 0 / 461 MB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1375, allocations: 3.984 kB / 461 MB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.1393, allocations: 0.9213 MB / 461.9 MB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1393, allocations: 7.938 kB / 461.9 MB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1395, allocations: 31.98 kB / 461.9 MB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009946/0.1404, allocations: 236.6 kB / 462.2 MB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1405, allocations: 8 kB / 462.2 MB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003758/0.1442, allocations: 2.5 MB / 464.7 MB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1442, allocations: 96 / 464.7 MB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1456, allocations: 0.6414 MB / 465.3 MB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.1457, allocations: 31.73 kB / 465.3 MB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.1457, allocations: 11.89 kB / 465.4 MB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1459, allocations: 11.98 kB / 465.4 MB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.146, allocations: 23.95 kB / 465.4 MB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.146, allocations: 12 kB / 465.4 MB, free: 2.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1462, allocations: 170.8 kB / 465.6 MB, free: 2.281 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1462, allocations: 0 / 465.6 MB, free: 2.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004658/0.1467, allocations: 104 kB / 465.7 MB, free: 2.18 MB / 430.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.0002044/0.1469, allocations: 115.2 kB / 465.8 MB, free: 2.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1482, allocations: 0.5923 MB / 466.4 MB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1482, allocations: 0 / 466.4 MB, free: 1.449 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008604/0.1491, allocations: 390.9 kB / 466.8 MB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1494, allocations: 20.33 kB / 466.8 MB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1505, allocations: 0.5249 MB / 467.3 MB, free: 496 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.1506, allocations: 138.7 kB / 467.4 MB, free: 336 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1508, allocations: 37.91 kB / 467.5 MB, free: 292 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.1508, allocations: 28.44 kB / 467.5 MB, free: 264 kB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1508, allocations: 0 / 467.5 MB, free: 264 kB / 430.1 MB Notification: Performance of Templates: time 0.01171/0.1625, allocations: 5.749 MB / 473.3 MB, free: 10.57 MB / 446.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.732451726915315] Failed to read output from testmodel.py, exit status != 0: 0.17213087901473045 0.356474325 0.23650747800000002 Calling exit ...