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.001328/0.001328, allocations: 112.1 kB / 17.68 MB, free: 5.473 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.001434/0.001434, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.48/1.48, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1788/0.1788, allocations: 37.98 MB / 309.8 MB, free: 5.973 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.001723/0.001724, allocations: 63.91 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2523, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005195/0.2575, allocations: 4.917 MB / 436.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2591, allocations: 1.337 MB / 438.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.2593, allocations: 15.88 kB / 438.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.2597, allocations: 127.1 kB / 438.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.2603, allocations: 330.4 kB / 438.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.2606, allocations: 151.7 kB / 438.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.261, allocations: 0.697 MB / 439.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.2613, allocations: 156.1 kB / 439.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.2616, allocations: 306.8 kB / 440 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.262, allocations: 438.7 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.2621, allocations: 44 kB / 440.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.2622, allocations: 48 kB / 440.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.2624, allocations: 235.4 kB / 440.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.2626, allocations: 274.8 kB / 441 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.263, allocations: 0.6152 MB / 441.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.263, allocations: 4 kB / 441.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.263, allocations: 0 / 441.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.263, allocations: 0 / 441.7 MB, free: 9.812 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.001599/0.2646, allocations: 0.9478 MB / 442.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2646, allocations: 15.89 kB / 442.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.2647, allocations: 56.28 kB / 442.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.2658, allocations: 0.6111 MB / 443.3 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2658, allocations: 32.59 kB / 443.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.2659, allocations: 43.91 kB / 443.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.2665, allocations: 0.5479 MB / 443.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2665, allocations: 0 / 443.9 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.2666, allocations: 16 kB / 443.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/0.2669, allocations: 92.45 kB / 444 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.2673, allocations: 354.3 kB / 444.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.2695, allocations: 2.051 MB / 446.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.2702, allocations: 381.2 kB / 446.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.2707, allocations: 321.6 kB / 447.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.2707, allocations: 7.938 kB / 447.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.2707, allocations: 38.5 kB / 447.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.2707, allocations: 4 kB / 447.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.00361/0.2744, allocations: 2.55 MB / 449.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2744, allocations: 81.11 kB / 449.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.2747, allocations: 381.6 kB / 450.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.2747, allocations: 33.7 kB / 450.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2748, allocations: 252.2 kB / 450.4 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.477e-05/0.2749, allocations: 138.1 kB / 450.6 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2751, allocations: 94.25 kB / 450.7 MB, free: 324 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.2752, allocations: 366.8 kB / 451 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.2755, allocations: 245 kB / 451.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.2759, allocations: 358.7 kB / 451.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.2767, allocations: 0.6193 MB / 452.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2767, allocations: 4 kB / 452.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001625/0.2784, allocations: 1.013 MB / 453.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.2784, allocations: 11.92 kB / 453.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2784, allocations: 4 kB / 453.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009539/0.2794, allocations: 413.4 kB / 453.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.2797, allocations: 83.88 kB / 453.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.285, allocations: 5.135 MB / 458.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.2855, allocations: 47.94 kB / 458.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.2855, allocations: 20 kB / 459 MB, free: 7.633 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.0003233/0.2859, allocations: 205.7 kB / 459.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.286, allocations: 39.53 kB / 459.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.2874, allocations: 0.8465 MB / 460 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2874, allocations: 4 kB / 460 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.2874, allocations: 4 kB / 460 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2875, allocations: 0 / 460 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.2898, allocations: 1.421 MB / 461.5 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.2898, allocations: 3.984 kB / 461.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.2901, allocations: 35.98 kB / 461.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.2913, allocations: 445.4 kB / 461.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.2914, allocations: 35.91 kB / 462 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.2975, allocations: 6.71 MB / 468.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2976, allocations: 0 / 468.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.2996, allocations: 1.132 MB / 469.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.2999, allocations: 116.5 kB / 469.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3, allocations: 27.98 kB / 470 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.3003, allocations: 35.94 kB / 470 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3004, allocations: 39.89 kB / 470 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.3005, allocations: 15.98 kB / 470 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.3008, allocations: 267.1 kB / 470.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3008, allocations: 0 / 470.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007665/0.3016, 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.0001941/0.3018, allocations: 119.2 kB / 470.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.3036, allocations: 0.9033 MB / 471.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3036, allocations: 3.938 kB / 471.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.3051, allocations: 1.079 MB / 472.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/0.3059, allocations: 131.4 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.002911/0.3089, allocations: 1.832 MB / 474.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.3094, allocations: 0.882 MB / 475.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.3096, allocations: 72.34 kB / 475.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.3097, allocations: 43.42 kB / 475.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3097, allocations: 0 / 475.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01418/0.3239, allocations: 7.599 MB / 483.1 MB, free: 14.51 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)