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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001196/0.001197, allocations: 191.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.374/1.374, allocations: 194.2 MB / 212.2 MB, free: 2.379 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001824/0.001824, allocations: 122.2 kB / 256.6 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1641/0.1641, allocations: 37.94 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.89 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08994, allocations: 52.19 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005095/0.09509, allocations: 5.753 MB / 459.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.09687, allocations: 1.59 MB / 461.3 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.09711, allocations: 31.81 kB / 461.4 MB, free: 9.148 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.09749, allocations: 111.3 kB / 461.5 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.09801, allocations: 310.7 kB / 461.8 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.09836, allocations: 139.8 kB / 461.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.09899, allocations: 1.071 MB / 463 MB, free: 7.523 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.0992, allocations: 135.5 kB / 463.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.09947, allocations: 274.8 kB / 463.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004787/0.09996, allocations: 458.7 kB / 463.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.1, allocations: 28 kB / 463.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.1001, allocations: 36 kB / 463.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1003, allocations: 223.4 kB / 464.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1005, allocations: 254.8 kB / 464.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.1009, allocations: 0.5996 MB / 465 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1009, allocations: 3.938 kB / 465 MB, free: 5.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1009, allocations: 0 / 465 MB, free: 5.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1009, allocations: 0 / 465 MB, free: 5.539 MB / 314.7 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.001606/0.1025, allocations: 0.9441 MB / 465.9 MB, free: 4.539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1026, allocations: 8.031 kB / 465.9 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.103e-05/0.1027, allocations: 52.38 kB / 466 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.1036, allocations: 0.5953 MB / 466.6 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1036, allocations: 24.66 kB / 466.6 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.1037, allocations: 47.84 kB / 466.6 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.1043, allocations: 0.5518 MB / 467.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1043, allocations: 0 / 467.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.1044, allocations: 12 kB / 467.2 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002922/0.1047, allocations: 92.5 kB / 467.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.1051, allocations: 354.3 kB / 467.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.1075, allocations: 2.101 MB / 469.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.1082, allocations: 381.2 kB / 470.1 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.1087, allocations: 321.5 kB / 470.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.1088, allocations: 4 kB / 470.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1088, allocations: 50.5 kB / 470.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.993e-06/0.1088, allocations: 0 / 470.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0043/0.1131, allocations: 2.538 MB / 473 MB, free: 13.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1132, allocations: 85.11 kB / 473.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.1136, allocations: 377.6 kB / 473.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1136, allocations: 37.73 kB / 473.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1138, allocations: 252.1 kB / 473.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.1139, allocations: 130.2 kB / 473.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1141, allocations: 110.1 kB / 474 MB, free: 12.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1142, allocations: 358.7 kB / 474.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.1146, allocations: 257 kB / 474.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.115, allocations: 386.6 kB / 475 MB, free: 10.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.1158, allocations: 0.6313 MB / 475.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1158, allocations: 4 kB / 475.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001532/0.1173, allocations: 0.998 MB / 476.6 MB, free: 9.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1174, allocations: 4 kB / 476.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1174, allocations: 7.984 kB / 476.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009456/0.1183, allocations: 377.9 kB / 477 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.1186, allocations: 87.83 kB / 477.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005083/0.1237, allocations: 6.245 MB / 483.3 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.1242, allocations: 43.94 kB / 483.4 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.1242, allocations: 16 kB / 483.4 MB, free: 1.953 MB / 330.7 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 (53): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.0003074/0.1245, allocations: 205.8 kB / 483.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.1246, allocations: 43.47 kB / 483.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.1259, allocations: 0.8388 MB / 484.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.126, allocations: 4 kB / 484.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.126, allocations: 0 / 484.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.126, allocations: 7.984 kB / 484.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.128, allocations: 1.409 MB / 485.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.128, allocations: 4 kB / 485.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1281, allocations: 43.84 kB / 485.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.1292, allocations: 445.3 kB / 486.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.1293, allocations: 35.97 kB / 486.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.1339, allocations: 6.257 MB / 492.6 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1339, allocations: 0 / 492.6 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.1485, allocations: 12.79 MB / 0.4936 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.1487, allocations: 112.5 kB / 0.4937 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.1489, allocations: 31.97 kB / 0.4937 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.1492, allocations: 31.95 kB / 0.4938 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1493, allocations: 44 kB / 0.4938 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.1493, allocations: 19.98 kB / 0.4938 GB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000257/0.1496, allocations: 267.1 kB / 0.4941 GB, free: 9.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1496, allocations: 0 / 0.4941 GB, free: 9.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007994/0.1504, allocations: 228 kB / 0.4943 GB, free: 9.684 MB / 362.7 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.0001564/0.1506, allocations: 131.2 kB / 0.4944 GB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.1524, allocations: 1.372 MB / 0.4958 GB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1524, allocations: 0 / 0.4958 GB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.1537, allocations: 1.086 MB / 0.4968 GB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.1543, allocations: 122.1 kB / 0.4969 GB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.1582, allocations: 3.133 MB / 0.5 GB, free: 3.434 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.1586, allocations: 0.8978 MB / 0.5009 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.1589, allocations: 80.33 kB / 0.5009 GB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.159, allocations: 35.44 kB / 0.501 GB, free: 2.395 MB / 362.7 MB Notification: Performance of SimCode: time 5.1e-07/0.159, allocations: 3.938 kB / 0.501 GB, free: 2.391 MB / 362.7 MB Notification: Performance of Templates: time 0.1904/0.3494, allocations: 10.01 MB / 0.5108 GB, free: 63.54 MB / 362.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)