Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004953/0.004953, allocations: 92.27 kB / 15.91 MB, free: 6.273 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.001051/0.001051, allocations: 197.4 kB / 16.84 MB, free: 6.188 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.205/1.205, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.142/0.142, allocations: 8.084 MB / 298.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 63.89 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08781, allocations: 51.52 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002316/0.09016, allocations: 1.277 MB / 413.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.09193, allocations: 1.485 MB / 415.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.09202, allocations: 0 / 415.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.09234, allocations: 99.66 kB / 415.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.09253, allocations: 67.59 kB / 415.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.09384, allocations: 0.8678 MB / 416.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.09403, allocations: 151.2 kB / 416.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.09415, allocations: 45.5 kB / 416.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.09422, allocations: 67.67 kB / 416.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.09435, allocations: 83.66 kB / 416.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.09438, allocations: 8 kB / 416.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.09468, allocations: 195.8 kB / 416.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.09472, allocations: 23.92 kB / 416.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.09479, allocations: 67.66 kB / 417 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.09514, allocations: 307.4 kB / 417.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.09515, allocations: 0 / 417.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.09516, allocations: 0 / 417.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09517, allocations: 0 / 417.3 MB, free: 5.438 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001511/0.09669, allocations: 0.6357 MB / 417.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.09672, allocations: 11.97 kB / 417.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.09677, allocations: 16.75 kB / 417.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.09699, allocations: 228.6 kB / 418.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.09702, allocations: 8.609 kB / 418.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.09705, allocations: 12.38 kB / 418.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.09731, allocations: 175.6 kB / 418.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.09733, allocations: 0 / 418.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.09735, allocations: 4 kB / 418.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.09736, allocations: 4 kB / 418.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.09759, allocations: 160.6 kB / 418.5 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.09849, allocations: 0.7029 MB / 419.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.099, allocations: 210.5 kB / 419.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.09914, allocations: 96.77 kB / 419.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.09918, allocations: 4 kB / 419.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.09921, allocations: 34.84 kB / 419.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.09922, allocations: 0 / 419.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001581/0.1008, allocations: 0.5654 MB / 420.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1008, allocations: 51.41 kB / 420.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.101, allocations: 181.1 kB / 420.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.101, allocations: 33.7 kB / 420.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1011, allocations: 108.4 kB / 420.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1011, allocations: 55.14 kB / 420.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.1012, allocations: 45.7 kB / 420.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.1013, allocations: 322.8 kB / 420.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1014, allocations: 91.97 kB / 421 MB, free: 1.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1016, allocations: 99.95 kB / 421.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.1019, allocations: 212.7 kB / 421.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1019, allocations: 0 / 421.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007604/0.1026, allocations: 385.9 kB / 421.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1027, allocations: 4 kB / 421.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1027, allocations: 3.938 kB / 421.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.1033, allocations: 148.7 kB / 421.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1034, allocations: 27.98 kB / 421.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.1056, allocations: 1.88 MB / 423.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1057, allocations: 15.83 kB / 423.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1057, allocations: 12 kB / 423.8 MB, free: 14.54 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1058, allocations: 129.7 kB / 423.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1059, allocations: 12.09 kB / 423.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.1067, allocations: 368.8 kB / 424.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1067, allocations: 4 kB / 424.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1067, allocations: 0 / 424.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1067, allocations: 0 / 424.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.107, allocations: 305.3 kB / 424.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.107, allocations: 0 / 424.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.1071, allocations: 16 kB / 424.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.1077, allocations: 136.7 kB / 424.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1077, allocations: 8 kB / 424.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.1096, allocations: 1.867 MB / 426.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1096, allocations: 0 / 426.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.1103, allocations: 429.8 kB / 427 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1104, allocations: 92.86 kB / 427.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1104, allocations: 11.98 kB / 427.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1106, allocations: 11.94 kB / 427.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1106, allocations: 7.984 kB / 427.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1106, allocations: 15.92 kB / 427.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1107, allocations: 135.2 kB / 427.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1107, allocations: 0 / 427.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.1111, allocations: 60 kB / 427.3 MB, free: 10.73 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.1112, allocations: 119.2 kB / 427.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.1119, allocations: 370.5 kB / 427.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/0.1119, allocations: 0 / 427.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004332/0.1124, allocations: 274.4 kB / 428.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1127, allocations: 12 kB / 428.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.1132, allocations: 405.5 kB / 428.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1135, allocations: 0.7243 MB / 429.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.375e-05/0.1136, allocations: 17.41 kB / 429.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1136, allocations: 15.44 kB / 429.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1136, allocations: 0 / 429.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of Templates: time 0.005847/0.1195, allocations: 3.796 MB / 433 MB, free: 4.945 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)