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.001543/0.001542, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001564/0.001564, allocations: 192 kB / 18.62 MB, free: 4.41 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.723/1.723, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1843/0.1843, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001451/0.001451, allocations: 68.28 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2829, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005347/0.2883, allocations: 4.92 MB / 436.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2902, allocations: 1.333 MB / 438.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.2904, allocations: 15.88 kB / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.2908, allocations: 119.1 kB / 438.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005544/0.2914, allocations: 334.4 kB / 438.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.2918, allocations: 151.7 kB / 438.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.2923, allocations: 0.6931 MB / 439.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.2925, allocations: 164.1 kB / 439.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.2928, allocations: 306.8 kB / 440 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.2933, allocations: 434.8 kB / 440.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.2933, allocations: 44 kB / 440.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.2934, allocations: 48 kB / 440.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.2936, allocations: 239.4 kB / 440.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.2939, allocations: 278.8 kB / 441.1 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.2943, allocations: 0.6113 MB / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2944, allocations: 0 / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2944, allocations: 0 / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.2944, allocations: 0 / 441.7 MB, free: 9.824 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.001664/0.296, allocations: 0.9517 MB / 442.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2961, allocations: 11.89 kB / 442.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.2962, allocations: 56.28 kB / 442.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.2972, allocations: 0.615 MB / 443.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2973, allocations: 24.66 kB / 443.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.2973, allocations: 43.91 kB / 443.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.298, allocations: 0.5518 MB / 443.9 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.298, allocations: 0 / 443.9 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.298, allocations: 12 kB / 443.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/0.2983, allocations: 100.4 kB / 444 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.2988, allocations: 350.3 kB / 444.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.3013, allocations: 2.054 MB / 446.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.302, allocations: 385.2 kB / 446.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.3025, allocations: 313.6 kB / 447.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.3026, allocations: 7.938 kB / 447.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3026, allocations: 42.56 kB / 447.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.3026, allocations: 3.938 kB / 447.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003737/0.3063, allocations: 2.55 MB / 449.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.3064, allocations: 81.23 kB / 449.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.3067, allocations: 385.6 kB / 450.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3067, allocations: 29.7 kB / 450.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3068, allocations: 256.2 kB / 450.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.3069, allocations: 130.1 kB / 450.6 MB, free: 436 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.307, allocations: 98.23 kB / 450.7 MB, free: 332 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.3072, allocations: 358.7 kB / 451 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.3075, allocations: 245 kB / 451.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.3079, allocations: 366.7 kB / 451.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.3088, allocations: 0.6232 MB / 452.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3088, allocations: 0 / 452.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001711/0.3105, allocations: 1.009 MB / 453.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.3105, allocations: 8.344 kB / 453.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3106, allocations: 4 kB / 453.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009356/0.3115, allocations: 417.2 kB / 453.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.3118, allocations: 79.89 kB / 453.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/0.3173, allocations: 5.147 MB / 458.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.3178, allocations: 43.94 kB / 458.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.3179, allocations: 23.94 kB / 459 MB, free: 7.637 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.0003777/0.3183, allocations: 209.7 kB / 459.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/0.3184, allocations: 35.53 kB / 459.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.32, allocations: 0.8347 MB / 460 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.32, allocations: 8 kB / 460 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.32, allocations: 4 kB / 460 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.32, allocations: 3.984 kB / 460 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.3223, allocations: 1.417 MB / 461.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3223, allocations: 0 / 461.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.3225, allocations: 39.97 kB / 461.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.3236, allocations: 445.4 kB / 461.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.3237, allocations: 35.91 kB / 462 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/0.3291, allocations: 6.71 MB / 468.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3291, allocations: 3.938 kB / 468.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.3308, allocations: 1.131 MB / 469.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3309, allocations: 120.5 kB / 469.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.331, allocations: 27.98 kB / 470 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.3313, allocations: 39.95 kB / 470 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3314, allocations: 35.88 kB / 470 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.3315, allocations: 15.98 kB / 470.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.3318, allocations: 271.1 kB / 470.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3319, allocations: 0 / 470.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008793/0.3327, allocations: 159.9 kB / 470.5 MB, free: 11.36 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.0002469/0.333, allocations: 123.2 kB / 470.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.3349, allocations: 0.9033 MB / 471.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.335, allocations: 0 / 471.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.3365, allocations: 1.079 MB / 472.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.3372, allocations: 129.7 kB / 472.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.3398, allocations: 1.824 MB / 474.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.3405, allocations: 0.882 MB / 475.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.3407, allocations: 76.34 kB / 475.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.3408, allocations: 31.44 kB / 475.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3408, allocations: 0 / 475.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01309/0.3539, allocations: 7.613 MB / 483.1 MB, free: 14.52 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)