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.0008629/0.0008629, allocations: 91.08 kB / 16.31 MB, free: 5.621 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.001048/0.001048, allocations: 180.6 kB / 17.21 MB, free: 5.539 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.342/1.342, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2934/0.2934, allocations: 38.06 MB / 309.7 MB, free: 8.777 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.0004872/0.0004873, allocations: 18.17 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 56.34 MB / 432.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.006385/0.1099, allocations: 6.757 MB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005006/0.1149, allocations: 4.167 MB / 443.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.1155, allocations: 15.94 kB / 443.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.1161, allocations: 139 kB / 443.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.1186, allocations: 0.8872 MB / 444.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.1194, allocations: 239.4 kB / 445 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.1214, allocations: 1.913 MB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.1237, allocations: 1.162 MB / 448.1 MB, free: 7.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1247, allocations: 497.7 kB / 448.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1258, allocations: 0.662 MB / 449.3 MB, free: 6.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.1259, allocations: 32 kB / 449.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.1277, allocations: 0.7363 MB / 450 MB, free: 5.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.1283, allocations: 442.9 kB / 450.5 MB, free: 4.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.1287, allocations: 177.3 kB / 450.6 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.131, allocations: 1.037 MB / 451.7 MB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.131, allocations: 0 / 451.7 MB, free: 3.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1311, allocations: 0 / 451.7 MB, free: 3.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.91e-05/0.1311, allocations: 4 kB / 451.7 MB, free: 3.773 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.002724/0.1339, allocations: 0.9912 MB / 452.7 MB, free: 2.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1339, allocations: 8.031 kB / 452.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.1371, allocations: 390.5 kB / 453.1 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.138, allocations: 465.6 kB / 453.5 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.1381, allocations: 53.98 kB / 453.6 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.1383, allocations: 75.98 kB / 453.6 MB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.1402, allocations: 1.168 MB / 454.8 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.1403, allocations: 19.84 kB / 454.8 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.1404, allocations: 20 kB / 454.9 MB, free: 500 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-05/0.1405, allocations: 73.95 kB / 454.9 MB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1835/0.324, allocations: 1.24 MB / 456.2 MB, free: 51.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006341/0.3304, allocations: 3.527 MB / 459.7 MB, free: 50.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.332, allocations: 1.058 MB / 460.8 MB, free: 50.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000725/0.3328, allocations: 0.6517 MB / 461.4 MB, free: 50.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.3329, allocations: 21.36 kB / 461.4 MB, free: 50.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3329, allocations: 44.06 kB / 461.5 MB, free: 50.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.637e-06/0.3329, allocations: 0 / 461.5 MB, free: 50.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.005774/0.3387, allocations: 3.055 MB / 464.5 MB, free: 49.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3388, allocations: 88.08 kB / 464.6 MB, free: 49.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.3391, allocations: 368 kB / 465 MB, free: 49.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.3392, allocations: 41.11 kB / 465 MB, free: 49.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3393, allocations: 314 kB / 465.3 MB, free: 48.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.3396, allocations: 312.5 kB / 465.6 MB, free: 48.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.3396, allocations: 19.16 kB / 465.6 MB, free: 48.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.3397, allocations: 368.6 kB / 466 MB, free: 48.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.3403, allocations: 469.1 kB / 466.5 MB, free: 48.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.3409, allocations: 0.5615 MB / 467 MB, free: 47.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.3417, allocations: 0.5451 MB / 467.6 MB, free: 47.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3417, allocations: 0 / 467.6 MB, free: 47.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002036/0.3437, allocations: 1.464 MB / 469 MB, free: 47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3438, allocations: 6.625 kB / 469 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3438, allocations: 2.938 kB / 469 MB, free: 47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008963/0.3447, allocations: 333.2 kB / 469.4 MB, free: 46.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.3453, allocations: 185.3 kB / 469.5 MB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/0.3495, allocations: 3.866 MB / 473.4 MB, free: 44.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.35, allocations: 47.12 kB / 473.5 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.3502, allocations: 39.44 kB / 473.5 MB, free: 44.45 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.3505, allocations: 298.2 kB / 473.8 MB, free: 44.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3506, allocations: 55.31 kB / 473.8 MB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.3529, allocations: 1.554 MB / 475.4 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3529, allocations: 9.438 kB / 475.4 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3529, allocations: 6.125 kB / 475.4 MB, free: 43.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.353, allocations: 5.25 kB / 475.4 MB, free: 43.61 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.357, allocations: 3.03 MB / 478.4 MB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.357, allocations: 7.25 kB / 478.4 MB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.3576, allocations: 171.6 kB / 478.6 MB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006687/0.3583, allocations: 279.6 kB / 478.9 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.3584, allocations: 26.19 kB / 478.9 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.3622, allocations: 3.616 MB / 482.5 MB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3622, allocations: 3.891 kB / 482.5 MB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.3642, allocations: 1.583 MB / 484.1 MB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3644, allocations: 143.2 kB / 484.3 MB, free: 38.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.3645, allocations: 21.03 kB / 484.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.3649, allocations: 48.38 kB / 484.3 MB, free: 38.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.365, allocations: 81.14 kB / 484.4 MB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.3651, allocations: 38.09 kB / 484.4 MB, free: 38.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.3653, allocations: 256.9 kB / 484.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3653, allocations: 0 / 484.7 MB, free: 38.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008938/0.3662, allocations: 303.9 kB / 485 MB, free: 38.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.3664, allocations: 134.1 kB / 485.1 MB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.3683, allocations: 1.386 MB / 486.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3684, allocations: 3.312 kB / 486.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3696, allocations: 0.8421 MB / 487.4 MB, free: 37.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.3704, allocations: 105 kB / 487.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.3732, allocations: 2.076 MB / 489.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.3738, allocations: 1.07 MB / 490.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.3743, allocations: 180.3 kB / 490.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.3746, allocations: 63.12 kB / 490.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3746, allocations: 0 / 490.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01978/0.3944, allocations: 9.072 MB / 499.9 MB, free: 35.17 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: