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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 96.97 kB / 16.3 MB, free: 5.656 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.001117/0.001117, allocations: 183.4 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1723/0.1723, allocations: 38.04 MB / 309.7 MB, free: 6.133 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005748/0.0005748, allocations: 16 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2932, allocations: 56.33 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003853/0.2971, allocations: 3.841 MB / 436.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2987, allocations: 0.9911 MB / 437.6 MB, free: 14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.299, allocations: 19.88 kB / 437.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.2991, allocations: 39.69 kB / 437.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.2996, allocations: 159.5 kB / 437.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.2998, allocations: 91.81 kB / 437.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3001, allocations: 223.5 kB / 438.2 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3003, allocations: 69.16 kB / 438.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3005, allocations: 143.5 kB / 438.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.3008, allocations: 127.5 kB / 438.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.3008, allocations: 12 kB / 438.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.3009, allocations: 12 kB / 438.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.3009, allocations: 71.78 kB / 438.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.301, allocations: 81.52 kB / 438.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3012, allocations: 203.4 kB / 438.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3012, allocations: 0 / 438.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3012, allocations: 4 kB / 438.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3012, allocations: 0 / 438.9 MB, free: 12.76 MB / 318.1 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.0008696/0.3021, allocations: 0.5619 MB / 439.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3021, allocations: 8.031 kB / 439.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.3022, allocations: 31.62 kB / 439.5 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.3027, allocations: 313.9 kB / 439.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3027, allocations: 16.38 kB / 439.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3028, allocations: 35.91 kB / 439.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3032, allocations: 290 kB / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3032, allocations: 0 / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.3033, allocations: 11.95 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3033, allocations: 4 kB / 440.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.3036, allocations: 199.5 kB / 440.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.3049, allocations: 1.28 MB / 441.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.3052, allocations: 123.8 kB / 441.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3052, allocations: 64 / 441.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3053, allocations: 38.5 kB / 441.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3053, allocations: 0 / 441.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008456/0.3061, allocations: 0.5271 MB / 442.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3062, allocations: 115 kB / 442.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3064, allocations: 242.6 kB / 442.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3064, allocations: 29.7 kB / 442.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.3065, allocations: 195.8 kB / 442.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.3065, allocations: 39.45 kB / 442.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.3065, allocations: 4 kB / 442.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.3066, allocations: 330.8 kB / 443.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.3067, allocations: 47.91 kB / 443.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.3068, allocations: 127.9 kB / 443.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.3069, allocations: 63.94 kB / 443.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3069, allocations: 0 / 443.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003355/0.3073, allocations: 233.5 kB / 443.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3073, allocations: 15.89 kB / 443.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3073, allocations: 4 kB / 443.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.3074, allocations: 24.84 kB / 443.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3077, allocations: 72.28 kB / 443.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3078, allocations: 4 kB / 443.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3079, allocations: 11.91 kB / 443.8 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3079, allocations: 8 kB / 443.8 MB, free: 7.391 MB / 318.1 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.308, allocations: 149.7 kB / 444 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3081, allocations: 19.81 kB / 444 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.3084, allocations: 159.2 kB / 444.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3084, allocations: 8.094 kB / 444.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3084, allocations: 7.875 kB / 444.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3084, allocations: 0 / 444.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.3087, allocations: 289.5 kB / 444.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3087, allocations: 0 / 444.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3089, allocations: 27.98 kB / 444.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3089, allocations: 0 / 444.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3089, allocations: 8 kB / 444.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3089, allocations: 3.953 kB / 444.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3089, allocations: 0 / 444.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.3093, allocations: 398.7 kB / 444.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.3093, allocations: 104.8 kB / 445 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.3094, allocations: 4 kB / 445 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3095, allocations: 4 kB / 445 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.3096, allocations: 12.05 kB / 445 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3096, allocations: 7.984 kB / 445 MB, free: 6.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3097, allocations: 170 kB / 445.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3097, allocations: 4 kB / 445.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.3101, allocations: 44 kB / 445.2 MB, free: 5.887 MB / 318.1 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.046e-05/0.3102, allocations: 103.1 kB / 445.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.3105, allocations: 216 kB / 445.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3105, allocations: 0 / 445.5 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.3106, allocations: 55.86 kB / 445.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.311, allocations: 53.23 kB / 445.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.3118, allocations: 0.7644 MB / 446.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.312, allocations: 0.7796 MB / 447.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.3121, allocations: 30.28 kB / 447.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.3122, allocations: 19.44 kB / 447.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3122, allocations: 0 / 447.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of Templates: time 0.004813/0.317, allocations: 2.071 MB / 449.3 MB, free: 1.73 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: