Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 90.34 kB / 16.65 MB, free: 6.535 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.001031/0.001031, allocations: 177 kB / 17.56 MB, free: 6.18 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.564/1.564, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1772/0.1772, allocations: 38.04 MB / 310.1 MB, free: 5.914 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.0005219/0.0005218, allocations: 12 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2989, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004685/0.3037, allocations: 5.364 MB / 438.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3057, allocations: 1.563 MB / 440.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.306, allocations: 35.75 kB / 440.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.3064, allocations: 103.3 kB / 440.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.3069, allocations: 306.7 kB / 440.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3073, allocations: 139.8 kB / 441 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007265/0.308, allocations: 1.06 MB / 442 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3082, allocations: 143.5 kB / 442.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.3085, allocations: 254.8 kB / 442.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.3091, allocations: 442.7 kB / 442.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.3091, allocations: 24 kB / 442.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.3092, allocations: 27.94 kB / 442.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3094, allocations: 211.4 kB / 443.1 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.3096, allocations: 276.5 kB / 443.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.31, allocations: 0.5799 MB / 444 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.31, allocations: 0 / 444 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.31, allocations: 0 / 444 MB, free: 8.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.31, allocations: 0 / 444 MB, free: 8.145 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001474/0.3115, allocations: 0.8467 MB / 444.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3115, allocations: 12.03 kB / 444.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.554e-05/0.3116, allocations: 56.27 kB / 444.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.3125, allocations: 0.5994 MB / 445.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.3125, allocations: 24.59 kB / 445.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.3126, allocations: 40 kB / 445.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.3133, allocations: 0.5518 MB / 446.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3133, allocations: 0 / 446.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.3133, allocations: 19.98 kB / 446.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002897/0.3136, allocations: 88.52 kB / 446.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.3141, allocations: 358.3 kB / 446.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.3164, allocations: 2.062 MB / 448.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.3171, allocations: 389.1 kB / 449 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.3176, allocations: 309.6 kB / 449.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3177, allocations: 15.88 kB / 449.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3177, allocations: 34.56 kB / 449.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.3177, allocations: 0 / 449.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003886/0.3216, allocations: 2.534 MB / 451.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.3217, allocations: 89.05 kB / 452 MB, free: 15.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.3222, allocations: 377.6 kB / 452.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.3223, allocations: 33.7 kB / 452.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.3225, allocations: 252.2 kB / 452.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.3227, allocations: 138.1 kB / 452.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.3228, allocations: 53.69 kB / 452.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.323, allocations: 362.8 kB / 453.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.3233, allocations: 245 kB / 453.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.3237, allocations: 362.7 kB / 453.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.3246, allocations: 0.6196 MB / 454.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3246, allocations: 4 kB / 454.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001632/0.3262, allocations: 1.009 MB / 455.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3263, allocations: 7.938 kB / 455.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3263, allocations: 4 kB / 455.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009751/0.3272, allocations: 409.5 kB / 455.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.3275, allocations: 83.83 kB / 455.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.3326, allocations: 4.73 MB / 460.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.3329, allocations: 43.95 kB / 460.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.333, allocations: 23.98 kB / 460.7 MB, free: 6.559 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.3333, allocations: 209.6 kB / 460.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.3334, allocations: 43.52 kB / 460.9 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.3347, allocations: 0.8425 MB / 461.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.3348, allocations: 4 kB / 461.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3348, allocations: 7.938 kB / 461.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3348, allocations: 0 / 461.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.337, allocations: 1.417 MB / 463.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.337, allocations: 3.938 kB / 463.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3371, allocations: 35.92 kB / 463.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.3382, allocations: 445.3 kB / 463.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.3383, allocations: 35.97 kB / 463.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.3434, allocations: 6.249 MB / 470 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3434, allocations: 0 / 470 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.3451, allocations: 1.128 MB / 471.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3452, allocations: 108.6 kB / 471.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.3453, allocations: 31.92 kB / 471.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.3456, allocations: 39.88 kB / 471.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.3457, allocations: 35.94 kB / 471.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3457, allocations: 15.98 kB / 471.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002804/0.346, allocations: 267.2 kB / 471.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.346, allocations: 0 / 471.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00067/0.3467, allocations: 156 kB / 471.7 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.3469, allocations: 123.2 kB / 471.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.3486, allocations: 0.9076 MB / 472.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.3486, allocations: 4 kB / 472.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.35, allocations: 1.083 MB / 473.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.3507, allocations: 122 kB / 474 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3534, allocations: 2.233 MB / 476.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.3539, allocations: 0.8898 MB / 477.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.3541, allocations: 72.34 kB / 477.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.3542, allocations: 31.44 kB / 477.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3542, allocations: 0 / 477.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Templates: time 0.01227/0.3665, allocations: 7.206 MB / 484.4 MB, free: 13.92 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) Environment - environmentSimulation: