Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 122.5 kB / 17.13 MB, free: 5.914 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.001784/0.001785, allocations: 192.2 kB / 18.06 MB, free: 5 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04595/0.04595, allocations: 8.098 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 59.91 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 51.52 MB / 466.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002647/0.1096, allocations: 0.9289 MB / 467.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.111, allocations: 1.158 MB / 468.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1111, allocations: 0 / 468.7 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1114, allocations: 51.78 kB / 468.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1116, allocations: 31.88 kB / 468.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.7e-05/0.1117, allocations: 35.91 kB / 468.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.1118, allocations: 51.62 kB / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1119, allocations: 35.94 kB / 468.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.1119, allocations: 23.94 kB / 469 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.112, allocations: 27.86 kB / 469 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.112, allocations: 4 kB / 469 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1122, allocations: 67.89 kB / 469.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.1122, allocations: 7.938 kB / 469.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1123, allocations: 31.86 kB / 469.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1125, allocations: 119.6 kB / 469.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1125, allocations: 0 / 469.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1125, allocations: 0 / 469.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1125, allocations: 0 / 469.2 MB, free: 15.6 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005489/0.1131, allocations: 379.3 kB / 469.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1131, allocations: 11.89 kB / 469.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.1131, allocations: 12.84 kB / 469.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1133, allocations: 164.3 kB / 469.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1133, allocations: 16.31 kB / 469.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1133, allocations: 8.375 kB / 469.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1135, allocations: 78.22 kB / 469.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1135, allocations: 192 / 469.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1135, allocations: 3.938 kB / 469.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1135, allocations: 0 / 469.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.507e-05/0.1136, allocations: 54.88 kB / 469.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.1141, allocations: 344.5 kB / 470.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.1141, allocations: 30.52 kB / 470.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.1142, allocations: 8.922 kB / 470.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.1143, allocations: 81.09 kB / 470.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.1143, allocations: 34.56 kB / 470.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1143, allocations: 0 / 470.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.1145, allocations: 37.7 kB / 470.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1145, allocations: 63.41 kB / 470.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.1146, allocations: 129.8 kB / 470.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1146, allocations: 25.7 kB / 470.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.1147, allocations: 115.9 kB / 470.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.1147, allocations: 3.906 kB / 470.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1148, allocations: 21.72 kB / 470.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.1149, allocations: 314.8 kB / 471.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.1149, allocations: 8 kB / 471.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.1149, allocations: 15.98 kB / 471.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.115, allocations: 32.86 kB / 471.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.115, allocations: 0 / 471.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001059/0.1151, allocations: 69.53 kB / 471.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1151, allocations: 4 kB / 471.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1151, allocations: 4 kB / 471.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1152, allocations: 0 / 471.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.1152, allocations: 11.92 kB / 471.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1152, allocations: 4 kB / 471.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1153, allocations: 3.938 kB / 471.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1153, allocations: 0 / 471.3 MB, free: 13.3 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.1154, allocations: 117.8 kB / 471.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1154, allocations: 3.906 kB / 471.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.7e-05/0.1155, allocations: 61.28 kB / 471.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1155, allocations: 3.938 kB / 471.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1156, allocations: 4 kB / 471.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1156, allocations: 3.938 kB / 471.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1157, allocations: 173.7 kB / 471.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1157, allocations: 0 / 471.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.1158, allocations: 12.02 kB / 471.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1158, allocations: 0 / 471.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1158, allocations: 0 / 471.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1158, allocations: 3.938 kB / 471.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1158, allocations: 0 / 471.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.763e-05/0.1159, allocations: 131.6 kB / 471.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1159, allocations: 81.09 kB / 471.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.116, allocations: 0 / 471.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.116, allocations: 11.97 kB / 471.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.1161, allocations: 4 kB / 471.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1161, allocations: 3.938 kB / 471.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.1161, allocations: 91.27 kB / 471.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1161, allocations: 3.938 kB / 471.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1164, allocations: 19.91 kB / 472 MB, free: 12.48 MB / 350.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.1165, allocations: 107.2 kB / 472.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.1166, allocations: 27.98 kB / 472.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1166, allocations: 0 / 472.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.1166, allocations: 4 kB / 472.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1169, allocations: 0 / 472.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.1172, allocations: 188.6 kB / 472.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1174, allocations: 0.6884 MB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.1174, allocations: 15.42 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1174, allocations: 0 / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Templates: time 0.002223/0.1197, allocations: 0.8482 MB / 473.8 MB, free: 10.54 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)