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.001099/0.001099, allocations: 80.2 kB / 20.7 MB, free: 3.801 MB / 18.57 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.001129/0.001129, allocations: 169 kB / 24.09 MB, free: 420 kB / 18.57 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.176 MB / 186.7 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.02252/0.02252, allocations: 4.487 MB / 265.6 MB, free: 8.293 MB / 250.7 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 1.833e-06/1.833e-06, allocations: 3.938 kB / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.267e-05, allocations: 6.25 kB / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001922/0.001945, allocations: 1.462 MB / 338.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.003404, allocations: 1.582 MB / 340 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003505, allocations: 8 kB / 340 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.003853, allocations: 119.2 kB / 340.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.004091, allocations: 107.3 kB / 340.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.004976, allocations: 0.836 MB / 341 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.005271, allocations: 238.8 kB / 341.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.005398, allocations: 54.5 kB / 341.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.005514, allocations: 139.7 kB / 341.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.00565, allocations: 95.7 kB / 341.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.005678, allocations: 20 kB / 341.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.006049, allocations: 207.6 kB / 341.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.006079, allocations: 55.77 kB / 341.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.00613, allocations: 71.83 kB / 341.9 MB, free: 8.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.006479, allocations: 354.8 kB / 342.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.006481, allocations: 0 / 342.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006482, allocations: 0 / 342.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.006487, allocations: 0 / 342.2 MB, free: 7.672 MB / 266.7 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.001283/0.00777, allocations: 0.8662 MB / 343.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.007804, allocations: 8.031 kB / 343.1 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.007862, allocations: 40.8 kB / 343.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.008045, allocations: 208.9 kB / 343.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.008058, allocations: 20.64 kB / 343.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.00808, allocations: 20.38 kB / 343.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.008262, allocations: 251.5 kB / 343.6 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.008272, allocations: 4.172 kB / 343.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.008287, allocations: 4.375 kB / 343.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.008295, allocations: 8.375 kB / 343.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.00839, allocations: 84.47 kB / 343.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.009061, allocations: 0.648 MB / 344.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.009332, allocations: 189.4 kB / 344.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.009393, allocations: 63.59 kB / 344.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.009439, allocations: 4 kB / 344.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.009463, allocations: 41.39 kB / 344.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.009464, allocations: 0 / 344.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001281/0.01075, allocations: 0.61 MB / 345.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.01076, allocations: 55.41 kB / 345.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.01088, allocations: 250.5 kB / 345.6 MB, free: 4.125 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.0109, allocations: 29.7 kB / 345.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.01095, allocations: 183.2 kB / 345.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.01098, allocations: 91.14 kB / 345.9 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.01105, allocations: 71.31 kB / 346 MB, free: 3.738 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.01111, allocations: 0.5078 MB / 346.5 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.01117, allocations: 63.95 kB / 346.5 MB, free: 3.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.01123, allocations: 76.41 kB / 346.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.01139, allocations: 170.1 kB / 346.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01139, allocations: 8 kB / 346.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006143/0.012, allocations: 424.5 kB / 347.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01202, allocations: 8 kB / 347.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01203, allocations: 0 / 347.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008361/0.01286, allocations: 311.2 kB / 347.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01297, allocations: 43.92 kB / 347.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.01476, allocations: 2.388 MB / 349.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01488, allocations: 23.78 kB / 350 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.0149, allocations: 8 kB / 350 MB, free: 15.59 MB / 282.7 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.000114/0.01501, allocations: 168.6 kB / 350.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.01506, allocations: 39.77 kB / 350.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007014/0.01576, allocations: 407.2 kB / 350.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01576, allocations: 4 kB / 350.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01577, allocations: 4 kB / 350.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01577, allocations: 3.984 kB / 350.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.01597, allocations: 225 kB / 350.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01597, allocations: 3.984 kB / 350.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.01603, allocations: 31.92 kB / 350.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/0.01678, allocations: 299.5 kB / 351.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.01679, allocations: 11.92 kB / 351.1 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.01868, allocations: 2.339 MB / 353.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01869, allocations: 4 kB / 353.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.01937, allocations: 0.5221 MB / 354 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.0194, allocations: 19.84 kB / 354 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.01942, allocations: 7.953 kB / 354 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01952, allocations: 15.98 kB / 354 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.01958, allocations: 31.89 kB / 354.1 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.0196, allocations: 12 kB / 354.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.01969, allocations: 163.3 kB / 354.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01969, allocations: 0 / 354.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.02004, allocations: 95.94 kB / 354.3 MB, free: 11.02 MB / 282.7 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.0001885/0.02023, allocations: 127.2 kB / 354.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.02093, allocations: 0.495 MB / 355 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02094, allocations: 0 / 355 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.02139, allocations: 425.4 kB / 355.4 MB, free: 9.934 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.02164, allocations: 32.55 kB / 355.4 MB, free: 9.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.02255, allocations: 468.8 kB / 355.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.668e-05/0.02262, allocations: 84.83 kB / 356 MB, free: 9.316 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.02269, allocations: 25.94 kB / 356 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.02279, allocations: 106.2 kB / 356.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02279, allocations: 0 / 356.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of Templates: time 0.009137/0.03193, allocations: 6.463 MB / 362.5 MB, free: 2.766 MB / 282.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.792858243919909]