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.001146/0.001146, allocations: 111 kB / 17.75 MB, free: 5.355 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.00114/0.00114, allocations: 190.4 kB / 18.68 MB, free: 4.434 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.335/1.335, allocations: 205.1 MB / 224.5 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1779/0.1779, allocations: 37.98 MB / 309.9 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.001574/0.001574, allocations: 67.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08873, allocations: 55.24 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006028/0.09478, allocations: 4.916 MB / 492.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.09711, allocations: 1.329 MB / 494 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.09748, allocations: 19.88 kB / 494.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.09802, allocations: 134.9 kB / 494.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.09886, allocations: 330.4 kB / 494.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.09932, allocations: 143.7 kB / 494.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008393/0.1002, allocations: 0.697 MB / 495.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1005, allocations: 156.1 kB / 495.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.101, allocations: 314.8 kB / 495.8 MB, free: 304 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008165/0.1019, allocations: 438.7 kB / 496.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.102, allocations: 44 kB / 496.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1022, allocations: 48 kB / 496.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1025, allocations: 243.4 kB / 496.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.1028, allocations: 278.7 kB / 496.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.1034, allocations: 0.6036 MB / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1035, allocations: 0 / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1035, allocations: 4 kB / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.1035, allocations: 7.938 kB / 497.5 MB, free: 14.65 MB / 382.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.001921/0.1054, allocations: 0.9401 MB / 498.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1055, allocations: 15.89 kB / 498.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1056, allocations: 52.38 kB / 498.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.1068, allocations: 0.615 MB / 499.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.1068, allocations: 32.59 kB / 499.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.1069, allocations: 43.91 kB / 499.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1078, allocations: 0.5479 MB / 499.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1078, allocations: 0 / 499.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1078, allocations: 20 kB / 499.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002976/0.1081, allocations: 84.53 kB / 499.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.1087, allocations: 354.3 kB / 0.4884 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.1116, allocations: 2.058 MB / 0.4904 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.1124, allocations: 385.1 kB / 0.4908 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.1129, allocations: 293.6 kB / 0.4911 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1129, allocations: 15.92 kB / 0.4911 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1129, allocations: 30.56 kB / 0.4911 GB, free: 8.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.113, allocations: 4 kB / 0.4911 GB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.004331/0.1173, allocations: 2.526 MB / 0.4936 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1174, allocations: 81.11 kB / 0.4937 GB, free: 6.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.1177, allocations: 381.5 kB / 0.494 GB, free: 5.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1178, allocations: 29.7 kB / 0.4941 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.118, allocations: 256.2 kB / 0.4943 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1181, allocations: 130.2 kB / 0.4944 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.1182, allocations: 98.19 kB / 0.4945 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1184, allocations: 374.7 kB / 0.4949 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.1187, allocations: 241 kB / 0.4951 GB, free: 4.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.1192, allocations: 362.7 kB / 0.4955 GB, free: 4.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/0.12, allocations: 0.6118 MB / 0.4961 GB, free: 3.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.12, allocations: 7.938 kB / 0.4961 GB, free: 3.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001664/0.1217, allocations: 1.013 MB / 0.4971 GB, free: 2.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1217, allocations: 11.94 kB / 0.4971 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1217, allocations: 4 kB / 0.4971 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/0.1227, allocations: 409.5 kB / 0.4975 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.123, allocations: 79.89 kB / 0.4975 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.1282, allocations: 5.135 MB / 0.5026 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1285, allocations: 40.08 kB / 0.5026 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.1286, allocations: 27.97 kB / 0.5026 GB, free: 12.52 MB / 398.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.0002536/0.1288, allocations: 205.7 kB / 0.5028 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-05/0.1289, allocations: 39.53 kB / 0.5029 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.1304, allocations: 0.8347 MB / 0.5037 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1304, allocations: 4 kB / 0.5037 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1304, allocations: 0 / 0.5037 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1305, allocations: 120.5 kB / 0.5038 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.1306, allocations: 27.98 kB / 0.5038 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.1309, allocations: 35.94 kB / 0.5038 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.131, allocations: 39.94 kB / 0.5039 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002511/0.1335, allocations: 1.259 MB / 0.5051 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001297/0.1348, allocations: 1.182 MB / 0.5063 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003577/0.1352, allocations: 304.3 kB / 0.5066 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002964/0.1355, allocations: 267.1 kB / 0.5068 GB, free: 8.125 MB / 398.1 MB Notification: Performance of Backend: time 8.92e-07/0.1355, allocations: 0 / 0.5068 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.1373, allocations: 0.7964 MB / 0.5076 GB, free: 7.293 MB / 398.1 MB Notification: Performance of SimCode: time 0.002773/0.1401, allocations: 2.139 MB / 0.5097 GB, free: 5.105 MB / 398.1 MB Notification: Performance of Templates: time 0.01322/0.1533, allocations: 8.053 MB / 0.5175 GB, free: 13.04 MB / 414.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)