Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") translateModel(PowerSysPro.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003812/0.003811, allocations: 89 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.0009579/0.0009579, allocations: 198.2 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.2/1.2, allocations: 222.9 MB / 240.5 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1518/0.1518, allocations: 8.091 MB / 298.7 MB, free: 2.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09482, allocations: 51.51 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002463/0.09732, allocations: 1.33 MB / 413.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.0988, allocations: 1.24 MB / 415.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.0989, allocations: 0 / 415.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.09925, allocations: 99.59 kB / 415.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.09946, allocations: 47.69 kB / 415.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1006, allocations: 0.7161 MB / 416 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1008, allocations: 127.5 kB / 416.1 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1009, allocations: 57.05 kB / 416.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.101, allocations: 55.67 kB / 416.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.1011, allocations: 59.77 kB / 416.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1011, allocations: 12 kB / 416.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.1014, allocations: 131.9 kB / 416.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.1014, allocations: 31.84 kB / 416.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1015, allocations: 71.61 kB / 416.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1018, allocations: 251.6 kB / 416.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1018, allocations: 0 / 416.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1019, allocations: 0 / 416.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1019, allocations: 0 / 416.7 MB, free: 5.941 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001164/0.103, allocations: 0.5595 MB / 417.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1031, allocations: 8.031 kB / 417.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.1031, allocations: 20.73 kB / 417.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1033, allocations: 206.3 kB / 417.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1033, allocations: 8.375 kB / 417.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1034, allocations: 12.38 kB / 417.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1036, allocations: 150.2 kB / 417.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.1036, allocations: 192 / 417.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1036, allocations: 11.94 kB / 417.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1037, allocations: 4 kB / 417.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1038, allocations: 111.9 kB / 417.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.1045, allocations: 0.5234 MB / 418.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.1054, allocations: 150.7 kB / 418.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.1054, allocations: 44.78 kB / 418.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.1056, allocations: 89.05 kB / 418.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1056, allocations: 46.53 kB / 418.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.1056, allocations: 0 / 418.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001081/0.1067, allocations: 347.2 kB / 419 MB, free: 3.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.1067, allocations: 59.34 kB / 419.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.1068, allocations: 129.8 kB / 419.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1068, allocations: 29.7 kB / 419.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.1069, allocations: 124.4 kB / 419.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1069, allocations: 31.55 kB / 419.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.107, allocations: 37.7 kB / 419.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.1071, allocations: 318.8 kB / 419.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.1071, allocations: 39.94 kB / 419.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/0.1072, allocations: 65.19 kB / 419.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.1074, allocations: 101.7 kB / 419.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1074, allocations: 4 kB / 419.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004814/0.1079, allocations: 210.1 kB / 420.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1079, allocations: 4 kB / 420.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1079, allocations: 4 kB / 420.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.1084, allocations: 80.8 kB / 420.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.1084, allocations: 19.98 kB / 420.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.1099, allocations: 1.518 MB / 421.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.546e-05/0.11, allocations: 15.88 kB / 421.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.11, allocations: 11.92 kB / 421.8 MB, free: 492 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/0.1101, allocations: 121.9 kB / 421.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1102, allocations: 7.906 kB / 421.9 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.1106, allocations: 202.8 kB / 422.1 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1107, allocations: 0 / 422.1 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1107, allocations: 11.92 kB / 422.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1107, allocations: 3.938 kB / 422.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1109, allocations: 225.6 kB / 422.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1109, allocations: 3.938 kB / 422.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.111, allocations: 8 kB / 422.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.1113, allocations: 76.77 kB / 422.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1113, allocations: 4 kB / 422.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.1128, allocations: 1.522 MB / 424 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1128, allocations: 0 / 424 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.1132, allocations: 276.1 kB / 424.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.1133, allocations: 85.02 kB / 424.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1133, allocations: 8 kB / 424.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.1134, allocations: 8 kB / 424.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.1134, allocations: 7.984 kB / 424.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1135, allocations: 0 / 424.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.367e-05/0.1135, allocations: 105.6 kB / 424.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1135, allocations: 0 / 424.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1138, allocations: 51.84 kB / 424.5 MB, free: 13.53 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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.114, allocations: 119.3 kB / 424.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1145, allocations: 259.1 kB / 424.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1146, allocations: 0 / 424.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.1149, allocations: 206.5 kB / 425.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1151, allocations: 4 kB / 425.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.1157, allocations: 340.8 kB / 425.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1159, allocations: 0.7082 MB / 426.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.015e-05/0.116, allocations: 12.66 kB / 426.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.116, allocations: 15.44 kB / 426.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.116, allocations: 0 / 426.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of Templates: time 0.003919/0.1199, allocations: 1.894 MB / 428 MB, free: 9.906 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & ./PowerSysPro_PowerSysPro.Tests.OneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)