Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.3 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 101.8 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06133/0.06133, allocations: 8.087 MB / 348.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 55.55 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08568, allocations: 51.52 MB / 462.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002127/0.08786, allocations: 1.443 MB / 464.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.08935, allocations: 1.508 MB / 465.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.08942, allocations: 0 / 465.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.08977, allocations: 99.64 kB / 465.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.09, allocations: 87.52 kB / 465.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.09124, allocations: 0.8748 MB / 466.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.09149, allocations: 191 kB / 466.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.09163, allocations: 45.66 kB / 466.8 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.09172, allocations: 79.7 kB / 466.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.09187, allocations: 99.55 kB / 467 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.09191, allocations: 12 kB / 467 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.09236, allocations: 191.8 kB / 467.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.37e-05/0.09241, allocations: 43.77 kB / 467.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.09249, allocations: 83.55 kB / 467.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.09283, allocations: 343.3 kB / 467.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09284, allocations: 0 / 467.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.09285, allocations: 0 / 467.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.09286, allocations: 0 / 467.7 MB, free: 0.9844 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001669/0.09453, allocations: 0.6893 MB / 468.4 MB, free: 248 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.09459, allocations: 8.031 kB / 468.4 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.09466, allocations: 24.66 kB / 468.4 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.09495, allocations: 232.9 kB / 468.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.09498, allocations: 8.656 kB / 468.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.09502, allocations: 20.38 kB / 468.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.09542, allocations: 213.2 kB / 468.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.09544, allocations: 4.125 kB / 468.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.09547, allocations: 11.94 kB / 468.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.09549, allocations: 4 kB / 468.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.0958, allocations: 200.8 kB / 469.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.09705, allocations: 0.846 MB / 469.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.09777, allocations: 390.1 kB / 470.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.09797, allocations: 140.8 kB / 470.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.09802, allocations: 7.969 kB / 470.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.09805, allocations: 34.56 kB / 470.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.09806, allocations: 0 / 470.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.002169/0.1002, allocations: 0.7284 MB / 471.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1003, allocations: 55.41 kB / 471.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1005, allocations: 184.5 kB / 471.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1005, allocations: 29.7 kB / 471.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.1006, allocations: 124.4 kB / 471.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.1007, allocations: 70.91 kB / 471.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.1008, allocations: 53.7 kB / 471.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1009, allocations: 338.8 kB / 472.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1011, allocations: 124 kB / 472.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.1013, allocations: 128.5 kB / 472.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1016, allocations: 272.8 kB / 472.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1017, allocations: 0 / 472.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009818/0.1026, allocations: 486.4 kB / 473 MB, free: 11.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1027, allocations: 11.94 kB / 473.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1027, allocations: 4 kB / 473.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008023/0.1035, allocations: 176.7 kB / 473.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1037, allocations: 35.92 kB / 473.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.1065, allocations: 2.175 MB / 475.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1067, allocations: 15.84 kB / 475.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1068, allocations: 4.094 kB / 475.5 MB, free: 8.766 MB / 314.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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.1069, allocations: 147.1 kB / 475.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.107, allocations: 15.81 kB / 475.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.108, allocations: 476.5 kB / 476.1 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.108, allocations: 4 kB / 476.1 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.108, allocations: 4 kB / 476.1 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.108, allocations: 0 / 476.1 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1094, allocations: 0.8579 MB / 477 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1094, allocations: 0 / 477 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.1095, allocations: 27.98 kB / 477 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.1102, allocations: 172.7 kB / 477.1 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1102, allocations: 4.188 kB / 477.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.1129, allocations: 2.159 MB / 479.3 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1129, allocations: 4.094 kB / 479.3 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1143, allocations: 1.236 MB / 480.6 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1144, allocations: 92.86 kB / 480.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1144, allocations: 11.98 kB / 480.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1146, allocations: 8 kB / 480.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.1147, allocations: 15.97 kB / 480.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1147, allocations: 8 kB / 480.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1148, allocations: 139.5 kB / 480.8 MB, free: 3.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1148, allocations: 3.938 kB / 480.8 MB, free: 3.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005196/0.1153, allocations: 87.84 kB / 480.9 MB, free: 3.023 MB / 314.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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.1156, allocations: 119.2 kB / 481 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1166, allocations: 486.5 kB / 481.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1166, allocations: 0 / 481.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.1172, allocations: 338.8 kB / 481.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.1175, allocations: 27.88 kB / 481.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.1184, allocations: 0.67 MB / 482.5 MB, free: 1.332 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1187, allocations: 0.7331 MB / 483.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.1188, allocations: 25.52 kB / 483.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1188, allocations: 27.36 kB / 483.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1188, allocations: 0 / 483.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of Templates: time 0.1717/0.2906, allocations: 4.687 MB / 488 MB, free: 27.69 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)