Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 107.2 kB / 17.74 MB, free: 5.359 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.0011/0.0011, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.301/1.301, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1722/0.1722, 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.001443/0.001443, allocations: 63.91 kB / 432.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.09017, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007977/0.09819, allocations: 7.434 MB / 495.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.1038, allocations: 4.437 MB / 499.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.1042, allocations: 19.88 kB / 499.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.1066, allocations: 1.031 MB / 0.489 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.1089, allocations: 1.203 MB / 0.4902 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.1096, allocations: 319.1 kB / 0.4905 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.1109, allocations: 1.402 MB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008312/0.1117, allocations: 0.6573 MB / 0.4925 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.1124, allocations: 0.6186 MB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.1131, allocations: 0.6775 MB / 0.4937 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.923e-05/0.1132, allocations: 68 kB / 0.4938 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.115, allocations: 1.329 MB / 0.4951 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003817/0.1154, allocations: 474.9 kB / 0.4956 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.1158, allocations: 441.9 kB / 0.496 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.1173, allocations: 1.461 MB / 0.4974 GB, free: 2.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1173, allocations: 0 / 0.4974 GB, free: 2.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1173, allocations: 0 / 0.4974 GB, free: 2.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1174, allocations: 0 / 0.4974 GB, free: 2.715 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00146/0.1188, allocations: 1.128 MB / 0.4985 GB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1189, allocations: 11.89 kB / 0.4985 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.1219, allocations: 387.4 kB / 0.4989 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.1227, allocations: 494.6 kB / 0.4994 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/0.1227, allocations: 54.36 kB / 0.4994 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1228, allocations: 72.36 kB / 0.4995 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1244, allocations: 1.172 MB / 0.5006 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.1245, allocations: 4 kB / 0.5006 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.1246, allocations: 31.98 kB / 0.5007 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.1247, allocations: 69.95 kB / 0.5007 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.1264, allocations: 1.241 MB / 0.5019 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.1311, allocations: 3.488 MB / 0.5053 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.1327, allocations: 1.066 MB / 0.5064 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000842/0.1335, allocations: 0.6604 MB / 0.507 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.033e-05/0.1336, allocations: 16.98 kB / 0.507 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1336, allocations: 39.56 kB / 0.5071 GB, free: 8.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.836e-06/0.1337, allocations: 0 / 0.5071 GB, free: 8.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006167/0.1398, allocations: 3.091 MB / 0.5101 GB, free: 5.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1399, allocations: 90.11 kB / 0.5102 GB, free: 5.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.1402, allocations: 361.6 kB / 0.5105 GB, free: 4.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.1403, allocations: 41.7 kB / 0.5106 GB, free: 4.926 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1405, allocations: 320.1 kB / 0.5109 GB, free: 4.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.1407, allocations: 315.4 kB / 0.5112 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.141, allocations: 162.5 kB / 0.5113 GB, free: 4.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1411, allocations: 366.8 kB / 0.5117 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/0.1418, allocations: 473.7 kB / 0.5121 GB, free: 3.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.1425, allocations: 0.5657 MB / 0.5127 GB, free: 2.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.144, allocations: 1.117 MB / 0.5138 GB, free: 1.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.144, allocations: 3.938 kB / 0.5138 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002372/0.1464, allocations: 1.473 MB / 0.5152 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1464, allocations: 11.91 kB / 0.5152 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1465, allocations: 0 / 0.5152 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009428/0.1474, allocations: 336.8 kB / 0.5155 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.1481, allocations: 179.7 kB / 0.5157 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/0.1533, allocations: 4.191 MB / 0.5198 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.1538, allocations: 47.95 kB / 0.5199 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.1538, allocations: 35.97 kB / 0.5199 GB, free: 11.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003813/0.1542, allocations: 297.6 kB / 0.5202 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1544, allocations: 55.34 kB / 0.5202 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.157, allocations: 1.567 MB / 0.5218 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.157, allocations: 7.969 kB / 0.5218 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.157, allocations: 0 / 0.5218 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1572, allocations: 144.3 kB / 0.5219 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/0.1572, allocations: 16 kB / 0.5219 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.1576, allocations: 39.95 kB / 0.522 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.1578, allocations: 88.8 kB / 0.522 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003009/0.1608, allocations: 1.727 MB / 0.5237 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002385/0.1632, allocations: 1.939 MB / 0.5256 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006893/0.1639, allocations: 0.5348 MB / 0.5261 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.1642, allocations: 255.2 kB / 0.5264 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Backend: time 6.31e-07/0.1642, allocations: 0 / 0.5264 GB, free: 4.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.1672, allocations: 1.571 MB / 0.5279 GB, free: 2.793 MB / 414.1 MB Notification: Performance of SimCode: time 0.002187/0.1694, allocations: 1.95 MB / 0.5298 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of Templates: time 0.198/0.3674, allocations: 16.3 MB / 0.5457 GB, free: 47.46 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)