Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001364, allocations: 92.05 kB / 290.6 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04788/0.04788, allocations: 8.082 MB / 348.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 60.06 kB / 411.1 MB, free: 57.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08627, allocations: 51.51 MB / 462.6 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001964/0.08828, allocations: 1.28 MB / 463.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.0895, allocations: 1.477 MB / 465.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.08956, allocations: 4 kB / 465.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.08983, allocations: 91.66 kB / 465.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.08999, allocations: 67.59 kB / 465.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.09112, allocations: 0.8868 MB / 466.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.09129, allocations: 151.2 kB / 466.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.0914, allocations: 41.53 kB / 466.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.09145, allocations: 59.78 kB / 466.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.09156, allocations: 83.59 kB / 466.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.09159, allocations: 12 kB / 466.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.09184, allocations: 187.8 kB / 466.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.09188, allocations: 39.78 kB / 467 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.09194, allocations: 63.67 kB / 467 MB, free: 1.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.09222, allocations: 311.4 kB / 467.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09224, allocations: 0 / 467.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.09224, allocations: 0 / 467.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.09225, allocations: 0 / 467.3 MB, free: 1.301 MB / 298.7 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.001395/0.09365, allocations: 0.6318 MB / 468 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.09369, allocations: 8.031 kB / 468 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.09374, allocations: 16.75 kB / 468 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.09392, allocations: 224.5 kB / 468.2 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.09394, allocations: 8.609 kB / 468.2 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.09397, allocations: 16.38 kB / 468.2 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.09419, allocations: 183.6 kB / 468.4 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.09421, allocations: 0 / 468.4 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.09423, allocations: 7.984 kB / 468.4 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.09424, allocations: 4 kB / 468.4 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.09446, allocations: 156.7 kB / 468.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.09536, allocations: 0.7068 MB / 469.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.09584, allocations: 202.5 kB / 469.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.096, allocations: 92.84 kB / 469.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.09604, allocations: 11.98 kB / 469.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.09607, allocations: 34.78 kB / 469.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.09608, allocations: 0 / 469.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001645/0.09773, allocations: 0.5725 MB / 470.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.09777, allocations: 55.41 kB / 470.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.09795, allocations: 173.8 kB / 470.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.09799, allocations: 25.7 kB / 470.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.09807, allocations: 116.4 kB / 470.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.09813, allocations: 55.2 kB / 470.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.09821, allocations: 41.61 kB / 470.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.09835, allocations: 330.8 kB / 471 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.09856, allocations: 91.97 kB / 471.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.09873, allocations: 99.77 kB / 471.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.09904, allocations: 219.8 kB / 471.4 MB, free: 13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.09906, allocations: 4 kB / 471.4 MB, free: 13 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008186/0.09988, allocations: 370 kB / 471.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.09991, allocations: 8 kB / 471.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.09992, allocations: 3.938 kB / 471.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.1006, allocations: 136.7 kB / 471.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1007, allocations: 35.92 kB / 471.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.103, allocations: 1.881 MB / 473.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1032, allocations: 15.84 kB / 473.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1032, allocations: 16.05 kB / 473.8 MB, free: 10.39 MB / 314.7 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1034, allocations: 132.6 kB / 474 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.1034, allocations: 11.81 kB / 474 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.1043, allocations: 367.2 kB / 474.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1043, allocations: 0 / 474.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.1043, allocations: 0 / 474.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1043, allocations: 0 / 474.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.1046, allocations: 297.4 kB / 474.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1046, allocations: 7.922 kB / 474.6 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.1047, allocations: 19.94 kB / 474.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.1052, allocations: 140.7 kB / 474.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1053, allocations: 0 / 474.8 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.1072, allocations: 1.868 MB / 476.7 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1072, allocations: 4.062 kB / 476.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1083, allocations: 1.09 MB / 477.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1084, allocations: 96.94 kB / 477.8 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1084, allocations: 11.88 kB / 477.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1086, allocations: 11.98 kB / 477.9 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1086, allocations: 11.98 kB / 477.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1086, allocations: 8 kB / 477.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1088, allocations: 129.2 kB / 478 MB, free: 5.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1088, allocations: 0 / 478 MB, free: 5.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004267/0.1092, allocations: 63.91 kB / 478.1 MB, free: 5.875 MB / 314.7 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.1094, allocations: 119.2 kB / 478.2 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.1101, allocations: 382.5 kB / 478.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.1101, allocations: 0 / 478.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.1106, allocations: 250.6 kB / 478.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1109, allocations: 16 kB / 478.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1116, allocations: 0.5586 MB / 479.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1119, allocations: 0.7206 MB / 480.1 MB, free: 3.742 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.112, allocations: 29.52 kB / 480.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.112, allocations: 19.44 kB / 480.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.112, allocations: 0 / 480.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of Templates: time 0.1655/0.2776, allocations: 3.957 MB / 484.1 MB, free: 28.13 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)