Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001206/0.001206, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.331/1.331, allocations: 194.2 MB / 212.2 MB, free: 2.355 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001685/0.001685, allocations: 126.8 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1674/0.1674, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.08334, allocations: 52.2 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004647/0.08802, allocations: 4.499 MB / 458.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.08971, allocations: 1.021 MB / 459.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.08995, allocations: 23.81 kB / 459.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.09013, allocations: 35.7 kB / 459.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.09054, allocations: 147.3 kB / 459.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.09071, allocations: 67.94 kB / 459.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.09105, allocations: 0.5296 MB / 460.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.09128, allocations: 93.69 kB / 460.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.09152, allocations: 155.2 kB / 460.6 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.09183, allocations: 187.3 kB / 460.7 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.09187, allocations: 16 kB / 460.8 MB, free: 9.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.09192, allocations: 12 kB / 460.8 MB, free: 9.758 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.09202, allocations: 87.7 kB / 460.9 MB, free: 9.672 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.09215, allocations: 131.3 kB / 461 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.09238, allocations: 271 kB / 461.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.0924, allocations: 0 / 461.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.0924, allocations: 3.938 kB / 461.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.09242, allocations: 0 / 461.3 MB, free: 9.273 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008903/0.09331, allocations: 0.6049 MB / 461.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.09335, allocations: 12.03 kB / 461.9 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.09341, allocations: 28.56 kB / 461.9 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.09379, allocations: 322.9 kB / 462.2 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.09382, allocations: 20.75 kB / 462.2 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.09394, allocations: 39.94 kB / 462.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.09426, allocations: 286 kB / 462.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.09428, allocations: 0 / 462.5 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.0943, allocations: 16 kB / 462.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.09432, allocations: 4 kB / 462.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.09455, allocations: 191.5 kB / 462.8 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.09568, allocations: 1.276 MB / 464 MB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.09593, allocations: 123.8 kB / 464.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.096, allocations: 46.62 kB / 464.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.09602, allocations: 0 / 464.2 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.09605, allocations: 42.56 kB / 464.2 MB, free: 6.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.09606, allocations: 0 / 464.2 MB, free: 6.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006814/0.09674, allocations: 0.531 MB / 464.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.09678, allocations: 102.8 kB / 464.9 MB, free: 5.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.09695, allocations: 246.7 kB / 465.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.09697, allocations: 37.58 kB / 465.1 MB, free: 5.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.09704, allocations: 191.7 kB / 465.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.09708, allocations: 39.7 kB / 465.4 MB, free: 4.793 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.09713, allocations: 49.61 kB / 465.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.09719, allocations: 334.8 kB / 465.7 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.09725, allocations: 39.98 kB / 465.8 MB, free: 4.363 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.09735, allocations: 127.9 kB / 465.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.09751, allocations: 191.8 kB / 466.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.09752, allocations: 8 kB / 466.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003091/0.09783, allocations: 221.9 kB / 466.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.09786, allocations: 8 kB / 466.3 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.09787, allocations: 3.938 kB / 466.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/0.09799, allocations: 37.19 kB / 466.4 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.09828, allocations: 67.88 kB / 466.4 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.09829, allocations: 4 kB / 466.4 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.09841, allocations: 4 kB / 466.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.09843, allocations: 12 kB / 466.5 MB, free: 3.594 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/0.09853, allocations: 145.8 kB / 466.6 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.09859, allocations: 23.72 kB / 466.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.0988, allocations: 147.3 kB / 466.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.09881, allocations: 7.938 kB / 466.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.09882, allocations: 0 / 466.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.09883, allocations: 0 / 466.8 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.09909, allocations: 289.5 kB / 467.1 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.0991, allocations: 0 / 467.1 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.09926, allocations: 23.98 kB / 467.1 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.09928, allocations: 4 kB / 467.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.09929, allocations: 7.922 kB / 467.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.0993, allocations: 11.94 kB / 467.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.09931, allocations: 0 / 467.1 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.101, allocations: 1.804 MB / 468.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.1011, allocations: 112.7 kB / 469 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1011, allocations: 8.062 kB / 469 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1013, allocations: 4 kB / 469 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.1013, allocations: 11.98 kB / 469 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1013, allocations: 4 kB / 469 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.1014, allocations: 170 kB / 469.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1014, allocations: 0 / 469.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.1018, allocations: 64 kB / 469.3 MB, free: 0.5391 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7.57e-05/0.1019, allocations: 103.2 kB / 469.4 MB, free: 436 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1022, allocations: 209.8 kB / 469.6 MB, free: 204 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1022, allocations: 0 / 469.6 MB, free: 204 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.1022, allocations: 47.92 kB / 469.6 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.1027, allocations: 56.53 kB / 469.7 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1039, allocations: 0.8584 MB / 470.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1042, allocations: 0.7716 MB / 471.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.1043, allocations: 26.28 kB / 471.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.1044, allocations: 27.42 kB / 471.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1044, allocations: 0 / 471.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Templates: time 0.005261/0.1097, allocations: 2.6 MB / 474 MB, free: 11.75 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)