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/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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 116.1 kB / 17.13 MB, free: 5.934 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.001009/0.001009, allocations: 195 kB / 18.06 MB, free: 5.02 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.296/1.296, allocations: 222.9 MB / 241.8 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04711/0.04711, allocations: 8.103 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 55.91 kB / 415.1 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08357, allocations: 51.52 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002335/0.08593, allocations: 1.384 MB / 468.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.08795, allocations: 1.516 MB / 469.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.08805, allocations: 4 kB / 469.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.0884, allocations: 115.4 kB / 469.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.08865, allocations: 99.38 kB / 469.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.09018, allocations: 0.8983 MB / 470.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.09047, allocations: 191 kB / 470.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.09062, allocations: 73.61 kB / 470.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.09072, allocations: 75.66 kB / 471 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.09089, allocations: 103.6 kB / 471.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.09093, allocations: 16 kB / 471.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.09128, allocations: 207.8 kB / 471.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.09132, allocations: 39.84 kB / 471.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.09141, allocations: 91.53 kB / 471.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.09184, allocations: 347 kB / 471.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.09185, allocations: 0 / 471.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09186, allocations: 4 kB / 471.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.09187, allocations: 3.984 kB / 471.8 MB, free: 13.02 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001841/0.09372, allocations: 0.6746 MB / 472.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.09376, allocations: 11.89 kB / 472.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.09383, allocations: 28.69 kB / 472.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.09409, allocations: 228.9 kB / 472.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.09412, allocations: 12.66 kB / 472.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.09416, allocations: 20.31 kB / 472.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.09452, allocations: 212.3 kB / 473 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.09454, allocations: 4.188 kB / 473 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.09457, allocations: 11.94 kB / 473 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.09458, allocations: 4 kB / 473 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.09488, allocations: 196.8 kB / 473.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.09605, allocations: 0.8423 MB / 474 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.09679, allocations: 383.5 kB / 474.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.097, allocations: 132.8 kB / 474.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.09705, allocations: 4 kB / 474.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.09708, allocations: 42.55 kB / 474.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.826e-06/0.09709, allocations: 4 kB / 474.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00221/0.09931, allocations: 0.7232 MB / 475.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.09935, allocations: 55.41 kB / 475.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.09954, allocations: 182.3 kB / 475.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.09958, allocations: 29.7 kB / 475.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.09966, allocations: 128.3 kB / 475.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.09972, allocations: 70.91 kB / 475.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.09982, allocations: 57.69 kB / 475.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.09992, allocations: 334.8 kB / 476.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1001, allocations: 120 kB / 476.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1003, allocations: 127.9 kB / 476.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.1007, allocations: 272.8 kB / 476.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1007, allocations: 0 / 476.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00101/0.1017, allocations: 486.5 kB / 477.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1017, allocations: 11.92 kB / 477.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1017, allocations: 0 / 477.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/0.1025, allocations: 180.6 kB / 477.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1027, allocations: 35.97 kB / 477.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.1057, allocations: 2.359 MB / 479.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1059, allocations: 19.75 kB / 479.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.1059, allocations: 12.03 kB / 479.8 MB, free: 4.613 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 (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.0001283/0.106, allocations: 137.7 kB / 479.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.1061, allocations: 19.81 kB / 479.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.1072, allocations: 463.7 kB / 480.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1072, allocations: 4 kB / 480.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1072, allocations: 0 / 480.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1072, allocations: 3.984 kB / 480.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1085, allocations: 0.8505 MB / 481.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1085, allocations: 0 / 481.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.1086, allocations: 27.92 kB / 481.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006797/0.1093, allocations: 176.6 kB / 481.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.1094, allocations: 8 kB / 481.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.1121, allocations: 2.332 MB / 483.8 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1121, allocations: 0 / 483.8 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.113, allocations: 0.5204 MB / 484.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1131, allocations: 104.8 kB / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1131, allocations: 4 kB / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1133, allocations: 8 kB / 484.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1134, allocations: 23.97 kB / 484.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1134, allocations: 4 kB / 484.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1135, allocations: 144.7 kB / 484.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1136, allocations: 0 / 484.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.1139, allocations: 83.94 kB / 484.6 MB, free: 15.46 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 (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.0001743/0.1141, allocations: 115.2 kB / 484.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1151, allocations: 494.5 kB / 485.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.1152, allocations: 0 / 485.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.1158, allocations: 346.4 kB / 485.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1162, allocations: 23.88 kB / 485.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.1169, allocations: 453.3 kB / 486 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1172, allocations: 0.7289 MB / 486.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.1172, allocations: 27.42 kB / 486.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1172, allocations: 0 / 486.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.005813/0.1231, allocations: 3.636 MB / 490.4 MB, free: 9.586 MB / 366.1 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)