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.001018/0.001018, allocations: 93.27 kB / 16.3 MB, free: 5.531 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.001158/0.001158, allocations: 184.6 kB / 17.2 MB, free: 5.465 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.489/1.489, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1753/0.1753, 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.0005804/0.0005804, allocations: 12 kB / 376.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3196, allocations: 56.33 MB / 432.8 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005183/0.3248, allocations: 4.891 MB / 437.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3278, allocations: 1.518 MB / 439.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.3283, allocations: 35.75 kB / 439.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.3288, allocations: 123.2 kB / 439.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000744/0.3296, allocations: 307.1 kB / 439.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.3301, allocations: 179.6 kB / 439.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.3306, allocations: 375.3 kB / 440.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.3309, allocations: 122.2 kB / 440.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.3312, allocations: 239.1 kB / 440.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.3317, allocations: 335.1 kB / 440.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.3317, allocations: 24 kB / 440.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.3318, allocations: 24 kB / 440.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.332, allocations: 203.5 kB / 441.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3321, allocations: 109.5 kB / 441.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.3325, allocations: 486.8 kB / 441.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3325, allocations: 4 kB / 441.7 MB, free: 9.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3325, allocations: 0 / 441.7 MB, free: 9.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3325, allocations: 0 / 441.7 MB, free: 9.898 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.001695/0.3342, allocations: 0.8427 MB / 442.6 MB, free: 9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3343, allocations: 8.031 kB / 442.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3344, allocations: 63.3 kB / 442.6 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3354, allocations: 0.5869 MB / 443.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.3354, allocations: 28.66 kB / 443.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.3355, allocations: 40 kB / 443.3 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.3362, allocations: 0.5439 MB / 443.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3362, allocations: 0 / 443.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.3363, allocations: 20 kB / 443.9 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002967/0.3366, allocations: 84.48 kB / 443.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.3371, allocations: 358.3 kB / 444.3 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.3397, allocations: 2.062 MB / 446.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.3405, allocations: 393.1 kB / 446.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3405, allocations: 4.062 kB / 446.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3405, allocations: 35.09 kB / 446.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.3405, allocations: 0 / 446.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003783/0.3443, allocations: 2.534 MB / 449.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3444, allocations: 81.11 kB / 449.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.3447, allocations: 381.5 kB / 449.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3447, allocations: 33.7 kB / 449.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3449, allocations: 252.2 kB / 450 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/0.345, allocations: 130.2 kB / 450.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.345, allocations: 12 kB / 450.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3452, allocations: 354.8 kB / 450.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.3455, allocations: 257 kB / 450.8 MB, free: 364 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3458, allocations: 354.7 kB / 451.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.3463, allocations: 293.5 kB / 451.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3463, allocations: 8 kB / 451.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001707/0.348, allocations: 1.002 MB / 452.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.348, allocations: 8 kB / 452.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.3481, allocations: 8 kB / 452.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009961/0.3491, allocations: 409.5 kB / 452.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.3494, allocations: 91.83 kB / 452.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005311/0.3547, allocations: 4.773 MB / 457.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.3551, allocations: 43.94 kB / 457.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.3552, allocations: 28.05 kB / 457.8 MB, free: 9.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003122/0.3555, allocations: 198 kB / 458 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.318e-05/0.3556, allocations: 43.44 kB / 458 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.3571, allocations: 0.8468 MB / 458.8 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3571, allocations: 4 kB / 458.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3571, allocations: 4.5 kB / 458.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3571, allocations: 3.953 kB / 458.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.3592, allocations: 1.413 MB / 460.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3592, allocations: 11.98 kB / 460.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3594, allocations: 43.94 kB / 460.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.3605, allocations: 441.4 kB / 460.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.3606, allocations: 31.97 kB / 460.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/0.3664, allocations: 6.304 MB / 467.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3664, allocations: 0 / 467.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.3681, allocations: 1.154 MB / 468.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.3683, allocations: 112.6 kB / 468.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.3684, allocations: 31.94 kB / 468.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.3687, allocations: 35.94 kB / 468.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.3688, allocations: 39.94 kB / 468.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3688, allocations: 15.98 kB / 468.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.3691, allocations: 259.2 kB / 468.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3691, allocations: 0 / 468.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007109/0.3699, allocations: 156 kB / 468.9 MB, free: 13.16 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 (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/0.3701, allocations: 123.2 kB / 469 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.3717, allocations: 0.8843 MB / 469.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.3717, allocations: 0 / 469.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.3732, allocations: 1.083 MB / 471 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.3738, allocations: 118 kB / 471.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3767, allocations: 2.207 MB / 473.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.3772, allocations: 0.8975 MB / 474.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.3775, allocations: 80.33 kB / 474.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.436e-05/0.3776, allocations: 35.44 kB / 474.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3776, allocations: 0 / 474.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of Templates: time 0.01212/0.3897, allocations: 7.002 MB / 481.3 MB, free: 0.5391 MB / 350.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: