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.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00412/0.004119, allocations: 88 kB / 15.91 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 199 kB / 16.83 MB, free: 6.234 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.211/1.211, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1479/0.1479, allocations: 8.086 MB / 298.7 MB, free: 2.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009831/0.0009831, allocations: 59.91 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.0875, allocations: 51.51 MB / 412.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002391/0.08992, allocations: 1.61 MB / 414.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.09157, allocations: 1.54 MB / 415.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.09164, allocations: 0 / 415.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.09194, allocations: 103.6 kB / 415.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.09216, allocations: 115.4 kB / 415.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.09347, allocations: 0.8822 MB / 416.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.09371, allocations: 222.9 kB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.09383, allocations: 72.05 kB / 417.1 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.09392, allocations: 87.64 kB / 417.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.09407, allocations: 127.4 kB / 417.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.0941, allocations: 12 kB / 417.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.09441, allocations: 199.8 kB / 417.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.09445, allocations: 39.78 kB / 417.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.09455, allocations: 111.5 kB / 417.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.09492, allocations: 391.1 kB / 418 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09493, allocations: 0 / 418 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09494, allocations: 3.938 kB / 418 MB, free: 4.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.09495, allocations: 0 / 418 MB, free: 4.68 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002122/0.09707, allocations: 0.8033 MB / 418.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.09711, allocations: 8.031 kB / 418.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.09718, allocations: 24.66 kB / 418.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.09743, allocations: 260.4 kB / 419.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.09745, allocations: 16.64 kB / 419.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.09749, allocations: 20.38 kB / 419.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.09787, allocations: 260 kB / 419.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.09789, allocations: 192 / 419.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.09792, allocations: 7.938 kB / 419.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.09793, allocations: 8 kB / 419.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.09827, allocations: 243.8 kB / 419.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.09953, allocations: 1.129 MB / 420.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.1001, allocations: 306.5 kB / 421.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.1003, allocations: 152.8 kB / 421.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.1004, allocations: 12 kB / 421.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1004, allocations: 31 kB / 421.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.223e-06/0.1004, allocations: 0 / 421.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.002861/0.1033, allocations: 0.9864 MB / 422.3 MB, free: 176 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1033, allocations: 51.41 kB / 422.3 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1035, allocations: 191.3 kB / 422.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1036, allocations: 37.7 kB / 422.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.1036, allocations: 124.4 kB / 422.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.1037, allocations: 86.73 kB / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.1038, allocations: 61.69 kB / 422.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.1039, allocations: 326.8 kB / 423.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.1041, allocations: 163.9 kB / 423.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.1043, allocations: 164 kB / 423.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.1048, allocations: 345.9 kB / 423.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1048, allocations: 0 / 423.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001389/0.1062, allocations: 0.6463 MB / 424.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1062, allocations: 4 kB / 424.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1062, allocations: 0 / 424.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.1075, allocations: 332.4 kB / 424.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1077, allocations: 43.97 kB / 424.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.1111, allocations: 2.543 MB / 427.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1113, allocations: 27.73 kB / 427.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1114, allocations: 15.98 kB / 427.4 MB, free: 10.85 MB / 366.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 (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.0001244/0.1115, allocations: 141.7 kB / 427.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.1115, allocations: 27.66 kB / 427.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.113, allocations: 0.6173 MB / 428.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.113, allocations: 4 kB / 428.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.113, allocations: 4 kB / 428.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.113, allocations: 3.938 kB / 428.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.1133, allocations: 381.2 kB / 428.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1133, allocations: 0 / 428.5 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/0.1134, allocations: 35.92 kB / 428.6 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.1147, allocations: 316.5 kB / 428.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1147, allocations: 8 kB / 428.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/0.1179, allocations: 2.511 MB / 431.4 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1179, allocations: 3.938 kB / 431.4 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.1192, allocations: 0.6678 MB / 432.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.1193, allocations: 104.8 kB / 432.2 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1193, allocations: 4.125 kB / 432.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1195, allocations: 20.22 kB / 432.2 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.1196, allocations: 27.95 kB / 432.2 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1196, allocations: 12 kB / 432.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1198, allocations: 147.2 kB / 432.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1198, allocations: 0 / 432.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004006/0.1202, allocations: 92 kB / 432.5 MB, free: 5.5 MB / 366.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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001716/0.1204, allocations: 115.2 kB / 432.6 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1216, allocations: 0.6166 MB / 433.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1216, allocations: 0 / 433.2 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.1225, allocations: 430.4 kB / 433.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1228, allocations: 26.17 kB / 433.7 MB, free: 4.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007748/0.1236, allocations: 0.5646 MB / 434.2 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1239, allocations: 0.7482 MB / 435 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.925e-05/0.124, allocations: 33.92 kB / 435 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.124, allocations: 27.42 kB / 435 MB, free: 2.871 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.124, allocations: 0 / 435 MB, free: 2.871 MB / 366.1 MB Notification: Performance of Templates: time 0.1468/0.2708, allocations: 5.591 MB / 440.6 MB, free: 56.55 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)