Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 96.7 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 184.4 kB / 16.96 MB, free: 6.871 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.569/1.569, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2262/0.2262, allocations: 8.098 MB / 300.2 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 52.52 MB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003443/0.1402, allocations: 1.963 MB / 418 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.1434, allocations: 1.645 MB / 419.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.1438, allocations: 8 kB / 419.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000603/0.1444, allocations: 135.4 kB / 419.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009259/0.1454, allocations: 183 kB / 419.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.1479, allocations: 1.16 MB / 421.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.1487, allocations: 394.1 kB / 421.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.149, allocations: 103.8 kB / 421.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.1493, allocations: 147.4 kB / 421.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.1497, allocations: 199.1 kB / 421.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.1498, allocations: 23.94 kB / 421.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.1505, allocations: 247.7 kB / 422.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1506, allocations: 59.75 kB / 422.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1509, allocations: 208.7 kB / 422.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009641/0.1518, allocations: 0.557 MB / 423 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1518, allocations: 0 / 423 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1519, allocations: 3.938 kB / 423 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1519, allocations: 0 / 423 MB, free: 1.348 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.2611/0.413, allocations: 1.299 MB / 424.3 MB, free: 41.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4131, allocations: 8.031 kB / 424.3 MB, free: 41.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.4134, allocations: 41.72 kB / 424.3 MB, free: 41.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.4138, allocations: 328.9 kB / 424.7 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.4139, allocations: 23.94 kB / 424.7 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.414, allocations: 33.66 kB / 424.7 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007846/0.4148, allocations: 478.1 kB / 425.2 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4148, allocations: 192 / 425.2 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.4148, allocations: 16.91 kB / 425.2 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.4148, allocations: 7.156 kB / 425.2 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.4154, allocations: 422.1 kB / 425.6 MB, free: 41.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.4178, allocations: 2.024 MB / 427.7 MB, free: 40.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008802/0.4187, allocations: 0.5234 MB / 428.2 MB, free: 40.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.4191, allocations: 282.4 kB / 428.5 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.885e-05/0.4192, allocations: 10.23 kB / 428.5 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4192, allocations: 42.31 kB / 428.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.392e-06/0.4192, allocations: 0 / 428.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006822/0.4261, allocations: 1.912 MB / 430.4 MB, free: 39.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.4261, allocations: 113.3 kB / 430.5 MB, free: 39.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.4265, allocations: 273 kB / 430.8 MB, free: 39.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/0.4265, allocations: 37.77 kB / 430.8 MB, free: 39.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4267, allocations: 160.9 kB / 431 MB, free: 39.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.4268, allocations: 142.2 kB / 431.1 MB, free: 39.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.4269, allocations: 57.78 kB / 431.2 MB, free: 39.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.427, allocations: 341.5 kB / 431.5 MB, free: 39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.4274, allocations: 297.5 kB / 431.8 MB, free: 39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.4279, allocations: 355.8 kB / 432.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.4289, allocations: 0.6483 MB / 432.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.4289, allocations: 0 / 432.8 MB, free: 38.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003661/0.4326, allocations: 1.262 MB / 434.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4326, allocations: 6.625 kB / 434.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4326, allocations: 3.938 kB / 434.1 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/0.4364, allocations: 0.7862 MB / 434.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.4367, allocations: 87.48 kB / 434.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.4428, allocations: 3.816 MB / 438.8 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.4433, allocations: 51.22 kB / 438.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.4434, allocations: 23.77 kB / 438.8 MB, free: 35.7 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.4436, allocations: 166.7 kB / 439 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.4437, allocations: 32.39 kB / 439 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.447, allocations: 1.222 MB / 440.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.447, allocations: 6.469 kB / 440.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.447, allocations: 0.9375 kB / 440.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.447, allocations: 0 / 440.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.4475, allocations: 0.5638 MB / 440.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4476, allocations: 0 / 440.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.4478, allocations: 60.7 kB / 440.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/0.4512, allocations: 0.7564 MB / 441.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.4513, allocations: 12.03 kB / 441.6 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/0.4574, allocations: 3.776 MB / 445.4 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4575, allocations: 0 / 445.4 MB, free: 31.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.4607, allocations: 1.236 MB / 446.7 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4608, allocations: 121.5 kB / 446.8 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.4609, allocations: 11.25 kB / 446.8 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.4613, allocations: 24.89 kB / 446.8 MB, free: 31.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.4614, allocations: 40.88 kB / 446.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.4615, allocations: 17.05 kB / 446.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4617, allocations: 189.7 kB / 447.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4617, allocations: 0 / 447.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008273/0.4625, allocations: 175.3 kB / 447.2 MB, free: 31.15 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.4629, allocations: 123.8 kB / 447.3 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.4656, allocations: 1.029 MB / 448.4 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4656, allocations: 0 / 448.4 MB, free: 30.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.4672, allocations: 0.6696 MB / 449 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4677, allocations: 37.92 kB / 449.1 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.469, allocations: 0.9327 MB / 450 MB, free: 29.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4693, allocations: 0.7961 MB / 450.8 MB, free: 28.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.4695, allocations: 58.7 kB / 450.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.4696, allocations: 33.97 kB / 450.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4696, allocations: 0 / 450.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01676/0.4864, allocations: 10.77 MB / 461.7 MB, free: 28.27 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) Environment - environmentSimulation: