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.0008166/0.0008166, allocations: 84.19 kB / 15.75 MB, free: 416 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.001291/0.001291, allocations: 176.2 kB / 16.63 MB, free: 6.887 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.537/1.537, allocations: 223.3 MB / 240.7 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2229/0.2229, allocations: 8.087 MB / 299.9 MB, free: 2.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 15.98 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 52.51 MB / 415.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001893/0.1157, allocations: 1.284 MB / 416.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1179, allocations: 1.482 MB / 418.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1182, allocations: 4 kB / 418.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.1186, allocations: 95.58 kB / 418.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.1191, allocations: 111.3 kB / 418.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1208, allocations: 0.732 MB / 419.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.1214, allocations: 246.7 kB / 419.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.1217, allocations: 78.7 kB / 419.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.122, allocations: 91.62 kB / 419.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1223, allocations: 123.5 kB / 419.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.1224, allocations: 12 kB / 419.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006842/0.1231, allocations: 191.8 kB / 419.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.1232, allocations: 43.77 kB / 419.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1233, allocations: 69.58 kB / 419.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.1238, allocations: 283.5 kB / 420.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1238, allocations: 0 / 420.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1238, allocations: 7.938 kB / 420.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1238, allocations: 0 / 420.2 MB, free: 3.855 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.00277/0.1266, allocations: 0.811 MB / 421 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1267, allocations: 8.031 kB / 421 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.1269, allocations: 31.67 kB / 421 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.1274, allocations: 259.5 kB / 421.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.1274, allocations: 12.44 kB / 421.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.1275, allocations: 24 kB / 421.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.1282, allocations: 291.2 kB / 421.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1282, allocations: 0 / 421.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.1283, allocations: 4 kB / 421.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1283, allocations: 8 kB / 421.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.1289, allocations: 281.5 kB / 421.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.131, allocations: 1.047 MB / 423 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.132, allocations: 457.9 kB / 423.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1323, allocations: 180.8 kB / 423.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.917e-05/0.1324, allocations: 4 kB / 423.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1324, allocations: 38.56 kB / 423.6 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.1324, allocations: 0 / 423.6 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.2664/0.3988, allocations: 0.9397 MB / 424.6 MB, free: 41.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3989, allocations: 64.41 kB / 424.6 MB, free: 41.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3992, allocations: 216 kB / 424.8 MB, free: 41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3992, allocations: 31.98 kB / 424.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.3993, allocations: 143.2 kB / 425 MB, free: 40.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.3993, allocations: 98.5 kB / 425.1 MB, free: 40.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.3994, allocations: 12.41 kB / 425.1 MB, free: 40.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.3995, allocations: 328.3 kB / 425.4 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3997, allocations: 178.3 kB / 425.6 MB, free: 40.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3999, allocations: 178.5 kB / 425.8 MB, free: 40.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.4002, allocations: 193.4 kB / 426 MB, free: 40.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4002, allocations: 0 / 426 MB, free: 40.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001165/0.4013, allocations: 0.6518 MB / 426.6 MB, free: 40.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4014, allocations: 3.125 kB / 426.6 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4014, allocations: 3.281 kB / 426.6 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008837/0.4023, allocations: 248.4 kB / 426.9 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.4025, allocations: 49.88 kB / 426.9 MB, free: 40.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.4054, allocations: 2.503 MB / 429.4 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.4056, allocations: 37.22 kB / 429.5 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4056, allocations: 14.09 kB / 429.5 MB, free: 39.12 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.0001406/0.4058, allocations: 138.4 kB / 429.6 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.4058, allocations: 25.5 kB / 429.6 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.4071, allocations: 0.5985 MB / 430.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4071, allocations: 7.188 kB / 430.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.4071, allocations: 0.5 kB / 430.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4071, allocations: 3.562 kB / 430.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4086, allocations: 1.055 MB / 431.3 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4087, allocations: 0.5625 kB / 431.3 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.4088, allocations: 35.97 kB / 431.3 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008161/0.4096, allocations: 235.9 kB / 431.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4096, allocations: 5.875 kB / 431.6 MB, free: 38.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.4122, allocations: 2.481 MB / 434.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4123, allocations: 0 / 434.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4134, allocations: 0.6521 MB / 434.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.4134, allocations: 98.83 kB / 434.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4135, allocations: 9.219 kB / 434.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4137, allocations: 14.84 kB / 434.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.4138, allocations: 30.59 kB / 434.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.4138, allocations: 10.5 kB / 434.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4139, allocations: 166.6 kB / 435 MB, free: 36.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4139, allocations: 0 / 435 MB, free: 36.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.4144, allocations: 111.9 kB / 435.1 MB, free: 36.45 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.0001872/0.4146, allocations: 115.8 kB / 435.2 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4158, allocations: 0.6006 MB / 435.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4158, allocations: 3.75 kB / 435.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.4165, allocations: 406.8 kB / 436.2 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.4169, allocations: 22.52 kB / 436.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.4177, allocations: 0.6093 MB / 436.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.4179, allocations: 0.7518 MB / 437.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.418, allocations: 28.92 kB / 437.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.4181, allocations: 28 kB / 437.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4181, allocations: 0 / 437.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of Templates: time 0.008178/0.4263, allocations: 5.733 MB / 443.4 MB, free: 34.34 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: