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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.000824, allocations: 100.9 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008304/0.0008303, allocations: 179.6 kB / 16.62 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1866/0.1866, allocations: 8.092 MB / 299.7 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 12 kB / 362.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 52.52 MB / 415.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001755/0.1293, allocations: 1.184 MB / 416.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1317, allocations: 1.49 MB / 418 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.132, allocations: 4 kB / 418 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.1325, allocations: 87.58 kB / 418 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.1331, allocations: 119.7 kB / 418.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.1348, allocations: 0.751 MB / 418.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.1353, allocations: 183.6 kB / 419.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1355, allocations: 76.45 kB / 419.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1357, allocations: 91.69 kB / 419.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.136, allocations: 127.5 kB / 419.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.136, allocations: 12 kB / 419.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.1364, allocations: 163.8 kB / 419.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1365, allocations: 39.83 kB / 419.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.1366, allocations: 65.58 kB / 419.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.137, allocations: 291.5 kB / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.137, allocations: 0 / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.137, allocations: 0 / 419.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.137, allocations: 0 / 419.9 MB, free: 4.039 MB / 350.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.002608/0.1397, allocations: 0.8071 MB / 420.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1397, allocations: 15.95 kB / 420.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1398, allocations: 31.67 kB / 420.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.1403, allocations: 255.5 kB / 421 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1403, allocations: 16.44 kB / 421.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.1404, allocations: 24 kB / 421.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.1409, allocations: 287.2 kB / 421.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1409, allocations: 0 / 421.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.1409, allocations: 7.938 kB / 421.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1409, allocations: 11.94 kB / 421.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.1413, allocations: 277.6 kB / 421.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.143, allocations: 1.047 MB / 422.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.1439, allocations: 471.7 kB / 423.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.144, allocations: 4 kB / 423.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.144, allocations: 34.56 kB / 423.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.744e-06/0.144, allocations: 0 / 423.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.226/0.3701, allocations: 0.9415 MB / 424.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3701, allocations: 59.03 kB / 424.2 MB, free: 41.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3704, allocations: 215.9 kB / 424.4 MB, free: 41.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.3705, allocations: 31.02 kB / 424.4 MB, free: 41.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.3706, allocations: 146.1 kB / 424.6 MB, free: 41.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.3707, allocations: 96.94 kB / 424.7 MB, free: 41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.3707, allocations: 8.75 kB / 424.7 MB, free: 41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.3708, allocations: 332.1 kB / 425 MB, free: 40.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.371, allocations: 173.1 kB / 425.2 MB, free: 40.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3713, allocations: 180.6 kB / 425.3 MB, free: 40.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.3716, allocations: 190.5 kB / 425.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3716, allocations: 0 / 425.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001388/0.373, allocations: 0.6529 MB / 426.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.373, allocations: 5.25 kB / 426.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.373, allocations: 6.75 kB / 426.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.3741, allocations: 245.7 kB / 426.4 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3743, allocations: 51.34 kB / 426.5 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.3774, allocations: 2.554 MB / 429 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.3777, allocations: 37.3 kB / 429.1 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3777, allocations: 13.09 kB / 429.1 MB, free: 39.3 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.3779, allocations: 139.7 kB / 429.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3779, allocations: 21.44 kB / 429.3 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3791, allocations: 0.606 MB / 429.9 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3792, allocations: 4.359 kB / 429.9 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3792, allocations: 0 / 429.9 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3792, allocations: 3.594 kB / 429.9 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.3808, allocations: 1.051 MB / 430.9 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3808, allocations: 0 / 430.9 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.3809, allocations: 33.44 kB / 430.9 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008587/0.3817, allocations: 241.2 kB / 431.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3818, allocations: 2.781 kB / 431.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002844/0.3846, allocations: 2.54 MB / 433.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3846, allocations: 5.422 kB / 433.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3857, allocations: 0.653 MB / 434.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.3858, allocations: 103.1 kB / 434.5 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.3858, allocations: 6.938 kB / 434.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.386, allocations: 19.36 kB / 434.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.3861, allocations: 27.61 kB / 434.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3861, allocations: 6.344 kB / 434.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3863, allocations: 167.6 kB / 434.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3863, allocations: 0 / 434.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.3868, allocations: 109.7 kB / 434.8 MB, free: 36.6 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.3869, allocations: 121.9 kB / 434.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.388, allocations: 0.6013 MB / 435.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.388, allocations: 3 kB / 435.5 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.3887, allocations: 389.4 kB / 435.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3889, allocations: 29.59 kB / 435.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.3897, allocations: 0.6023 MB / 436.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3899, allocations: 0.7568 MB / 437.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.39, allocations: 38.27 kB / 437.3 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.39, allocations: 27.7 kB / 437.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.39, allocations: 0 / 437.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of Templates: time 0.008133/0.3982, allocations: 5.703 MB / 443.1 MB, free: 34.5 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: