Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 96.94 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.001463/0.001464, allocations: 181.7 kB / 16.96 MB, free: 6.895 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.574/1.574, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2195/0.2195, allocations: 8.08 MB / 300.2 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 12 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 52.52 MB / 416 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001478/0.1366, allocations: 0.9558 MB / 417 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1385, allocations: 1.462 MB / 418.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.1386, allocations: 4 kB / 418.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1389, allocations: 95.66 kB / 418.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1392, allocations: 91.52 kB / 418.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.1408, allocations: 0.9536 MB / 419.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1411, allocations: 155.2 kB / 419.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1412, allocations: 53.5 kB / 419.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.1413, allocations: 59.72 kB / 419.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1414, allocations: 75.67 kB / 419.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1415, allocations: 8 kB / 419.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.1418, allocations: 223.7 kB / 420.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.1418, allocations: 27.86 kB / 420.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.599e-05/0.1419, allocations: 97.3 kB / 420.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.1423, allocations: 323.3 kB / 420.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1424, allocations: 0 / 420.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1424, allocations: 4 kB / 420.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1424, allocations: 0 / 420.6 MB, free: 3.789 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002072/0.1445, allocations: 0.6902 MB / 421.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1445, allocations: 16.03 kB / 421.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.1446, allocations: 16.75 kB / 421.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1448, allocations: 224.1 kB / 421.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1449, allocations: 12.61 kB / 421.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1449, allocations: 12.38 kB / 421.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1452, allocations: 198 kB / 421.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1452, allocations: 192 / 421.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.1453, allocations: 11.88 kB / 421.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1453, allocations: 4 kB / 421.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1456, allocations: 164.6 kB / 421.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1467, allocations: 0.7262 MB / 422.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.1472, allocations: 212.7 kB / 422.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1473, allocations: 88.84 kB / 422.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.1474, allocations: 11.98 kB / 422.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1474, allocations: 38.55 kB / 423 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.1474, allocations: 4 kB / 423 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001975/0.1494, allocations: 0.5775 MB / 423.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1494, allocations: 81.11 kB / 423.6 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1496, allocations: 186.5 kB / 423.8 MB, free: 292 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1497, allocations: 29.69 kB / 423.8 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.1498, allocations: 116.4 kB / 424 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.1498, allocations: 55.14 kB / 424 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1499, allocations: 29.7 kB / 424 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2264/0.3763, allocations: 325.8 kB / 424.4 MB, free: 41.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.3766, allocations: 97.25 kB / 424.5 MB, free: 41.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3768, allocations: 128.1 kB / 424.6 MB, free: 41.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.3772, allocations: 230.2 kB / 424.8 MB, free: 41.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3772, allocations: 1.656 kB / 424.8 MB, free: 41.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001217/0.3785, allocations: 422.4 kB / 425.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3785, allocations: 5.156 kB / 425.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3785, allocations: 2.438 kB / 425.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.3796, allocations: 202.5 kB / 425.4 MB, free: 41.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3798, allocations: 39.78 kB / 425.5 MB, free: 41.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.3821, allocations: 1.813 MB / 427.3 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3823, allocations: 24.23 kB / 427.3 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3823, allocations: 7.156 kB / 427.3 MB, free: 40.08 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 (22): * Single equations (assignments): 21 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.3824, allocations: 131.6 kB / 427.4 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.3825, allocations: 21.25 kB / 427.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.3835, allocations: 389.1 kB / 427.8 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3835, allocations: 0 / 427.8 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3835, allocations: 5.25 kB / 427.8 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3835, allocations: 3.375 kB / 427.8 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3838, allocations: 298.3 kB / 428.1 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3838, allocations: 0 / 428.1 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3839, allocations: 31.3 kB / 428.2 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009529/0.3849, allocations: 205.5 kB / 428.4 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3849, allocations: 0 / 428.4 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.3868, allocations: 1.804 MB / 430.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3868, allocations: 3.156 kB / 430.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.3877, allocations: 453.3 kB / 430.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.3878, allocations: 93.33 kB / 430.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3878, allocations: 5.875 kB / 430.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.388, allocations: 18.98 kB / 430.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.388, allocations: 21.12 kB / 430.7 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3881, allocations: 6.469 kB / 430.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.846e-05/0.3882, allocations: 135.6 kB / 430.9 MB, free: 38.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.3882, allocations: 0 / 430.9 MB, free: 38.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3885, allocations: 63.56 kB / 430.9 MB, free: 38.11 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 (15): * Single equations (assignments): 14 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.3887, allocations: 117.7 kB / 431.1 MB, free: 38.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.3895, allocations: 416.5 kB / 431.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3896, allocations: 0 / 431.5 MB, free: 37.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.3901, allocations: 268.6 kB / 431.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3904, allocations: 23.86 kB / 431.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.391, allocations: 453.4 kB / 432.2 MB, free: 37.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3911, allocations: 0.7177 MB / 432.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.3912, allocations: 28.39 kB / 432.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3913, allocations: 23.97 kB / 433 MB, free: 36.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3913, allocations: 3.719 kB / 433 MB, free: 36.82 MB / 350.1 MB Notification: Performance of Templates: time 0.006689/0.398, allocations: 3.873 MB / 436.8 MB, free: 36.61 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) Environment - environmentSimulation: