Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001095, allocations: 114.2 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.001022/0.001022, allocations: 185.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.294/1.294, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.174/0.174, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001399/0.001399, allocations: 68.47 kB / 432.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.09042, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007852/0.09831, allocations: 7.57 MB / 495.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005438/0.1038, allocations: 4.203 MB / 499.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.1042, allocations: 16 kB / 499.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.1067, allocations: 1.036 MB / 0.4889 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.1089, allocations: 1.094 MB / 0.49 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.1097, allocations: 311.2 kB / 0.4903 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.1112, allocations: 1.367 MB / 0.4916 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.112, allocations: 452 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009056/0.1129, allocations: 0.5639 MB / 0.4926 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.1138, allocations: 0.5838 MB / 0.4931 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.1139, allocations: 36 kB / 0.4932 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1155, allocations: 0.9856 MB / 0.4941 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.1159, allocations: 275.3 kB / 0.4944 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.1162, allocations: 246.9 kB / 0.4946 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1177, allocations: 0.8102 MB / 0.4954 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1178, allocations: 0 / 0.4954 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1178, allocations: 0 / 0.4954 GB, free: 4.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1178, allocations: 4 kB / 0.4954 GB, free: 4.734 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001193/0.119, allocations: 0.8 MB / 0.4962 GB, free: 3.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.119, allocations: 15.89 kB / 0.4962 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.1206, allocations: 132.3 kB / 0.4964 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.1211, allocations: 338.4 kB / 0.4967 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1212, allocations: 33.36 kB / 0.4967 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.1212, allocations: 36.36 kB / 0.4967 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.122, allocations: 0.5791 MB / 0.4973 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1221, allocations: 7.938 kB / 0.4973 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1221, allocations: 23.98 kB / 0.4973 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.1222, allocations: 32.62 kB / 0.4974 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.1228, allocations: 386.1 kB / 0.4977 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.1254, allocations: 2.592 MB / 0.5003 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.1261, allocations: 431.8 kB / 0.5007 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.1264, allocations: 210.4 kB / 0.5009 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1264, allocations: 4 kB / 0.5009 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1264, allocations: 38.56 kB / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.1265, allocations: 0 / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001667/0.1281, allocations: 0.7766 MB / 0.5017 GB, free: 13.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.1282, allocations: 106.8 kB / 0.5018 GB, free: 13.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1285, allocations: 328.5 kB / 0.5021 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1286, allocations: 29.7 kB / 0.5021 GB, free: 13.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1287, allocations: 247.7 kB / 0.5024 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1289, allocations: 122.3 kB / 0.5025 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.129, allocations: 78.08 kB / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1291, allocations: 354.9 kB / 0.5029 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.1293, allocations: 120.8 kB / 0.503 GB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.1296, allocations: 279.5 kB / 0.5033 GB, free: 12.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1301, allocations: 460.1 kB / 0.5037 GB, free: 11.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.1301, allocations: 4 kB / 0.5037 GB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000844/0.131, allocations: 0.557 MB / 0.5043 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.131, allocations: 8 kB / 0.5043 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.131, allocations: 4 kB / 0.5043 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.1314, allocations: 125.3 kB / 0.5044 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1316, allocations: 71.84 kB / 0.5045 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.1342, allocations: 2.555 MB / 0.507 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1344, allocations: 47.47 kB / 0.507 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1344, allocations: 16 kB / 0.507 GB, free: 8.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.1346, allocations: 201.7 kB / 0.5072 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.1347, allocations: 39.53 kB / 0.5072 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.29e-05/0.1348, allocations: 47.95 kB / 0.5073 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1348, allocations: 3.984 kB / 0.5073 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1348, allocations: 0 / 0.5073 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.1349, allocations: 120.5 kB / 0.5074 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.135, allocations: 15.98 kB / 0.5074 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1352, allocations: 4 kB / 0.5074 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.1352, allocations: 31.95 kB / 0.5075 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009433/0.1362, allocations: 0.7031 MB / 0.5081 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007737/0.137, allocations: 0.8108 MB / 0.5089 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001927/0.1372, allocations: 141.2 kB / 0.5091 GB, free: 5.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.1374, allocations: 219.1 kB / 0.5093 GB, free: 5.781 MB / 398.1 MB Notification: Performance of Backend: time 4.51e-07/0.1374, allocations: 4.062 kB / 0.5093 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.1392, allocations: 0.8162 MB / 0.5101 GB, free: 4.938 MB / 398.1 MB Notification: Performance of SimCode: time 0.001421/0.1407, allocations: 1.284 MB / 0.5113 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Templates: time 0.01168/0.1524, allocations: 7.06 MB / 0.5182 GB, free: 12.54 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)