Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001057/0.001057, allocations: 189.5 kB / 17.27 MB, free: 4.5 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.19/1.19, allocations: 194.2 MB / 212.2 MB, free: 2.363 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.001993/0.001993, allocations: 125 kB / 256.6 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1631/0.1631, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.07964, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.005697/0.08539, allocations: 7.66 MB / 461.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.08962, allocations: 4.554 MB / 466.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.09007, allocations: 15.94 kB / 466.2 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.09196, allocations: 0.9848 MB / 467.2 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.0941, allocations: 1.145 MB / 468.3 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.09475, allocations: 283.3 kB / 468.6 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.0965, allocations: 2.596 MB / 471.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.09757, allocations: 0.6567 MB / 471.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008483/0.09843, allocations: 0.5094 MB / 472.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008146/0.09926, allocations: 0.7282 MB / 473.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.052e-05/0.09935, allocations: 48 kB / 473.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.1018, allocations: 1.621 MB / 474.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004175/0.1023, allocations: 462.9 kB / 475.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.1027, allocations: 425.9 kB / 475.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.1049, allocations: 1.519 MB / 477.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1049, allocations: 4 kB / 477.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1049, allocations: 0 / 477.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.105, allocations: 0 / 477.2 MB, free: 9.301 MB / 330.7 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.001623/0.1066, allocations: 1.128 MB / 478.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1066, allocations: 12.03 kB / 478.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.1095, allocations: 391.4 kB / 478.7 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.1102, allocations: 474.6 kB / 479.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.1103, allocations: 54.36 kB / 479.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1104, allocations: 76.3 kB / 479.3 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.112, allocations: 1.184 MB / 480.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.112, allocations: 4 kB / 480.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.1121, allocations: 27.98 kB / 480.5 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-05/0.1122, allocations: 73.95 kB / 480.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.1139, allocations: 1.237 MB / 481.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.1188, allocations: 3.519 MB / 485.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.1203, allocations: 1.061 MB / 486.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.1211, allocations: 0.6567 MB / 487 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.1212, allocations: 16.98 kB / 487.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1212, allocations: 47.69 kB / 487.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.176e-06/0.1212, allocations: 3.938 kB / 487.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.00599/0.1272, allocations: 3.083 MB / 490.2 MB, free: 12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1273, allocations: 90.11 kB / 490.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.1277, allocations: 369.5 kB / 490.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.1277, allocations: 41.7 kB / 490.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1279, allocations: 308.2 kB / 491 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.1281, allocations: 315.4 kB / 491.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.1284, allocations: 158.6 kB / 491.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1285, allocations: 370.8 kB / 491.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006111/0.1291, allocations: 469.7 kB / 492.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/0.1298, allocations: 0.5696 MB / 492.8 MB, free: 9.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.1312, allocations: 1.109 MB / 494 MB, free: 8.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1312, allocations: 0 / 494 MB, free: 8.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00229/0.1335, allocations: 1.481 MB / 495.4 MB, free: 6.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1335, allocations: 8 kB / 495.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1335, allocations: 4 kB / 495.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008823/0.1344, allocations: 332.6 kB / 495.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.1351, allocations: 187.7 kB / 496 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/0.14, allocations: 3.856 MB / 499.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.1405, allocations: 55.94 kB / 499.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.1406, allocations: 43.92 kB / 499.9 MB, free: 1.992 MB / 346.7 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.0004425/0.141, allocations: 289.5 kB / 0.4885 GB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1411, allocations: 63.23 kB / 0.4885 GB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/0.1437, allocations: 1.567 MB / 0.4901 GB, free: 60 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1437, allocations: 8 kB / 0.4901 GB, free: 52 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1437, allocations: 7.984 kB / 0.4901 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.1438, allocations: 7.984 kB / 0.4901 GB, free: 36 kB / 346.7 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.004636/0.1484, allocations: 3.028 MB / 0.493 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1484, allocations: 4 kB / 0.493 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.149, allocations: 168.2 kB / 0.4932 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007641/0.1498, allocations: 287.6 kB / 0.4935 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.1499, allocations: 31.92 kB / 0.4935 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004478/0.1544, allocations: 3.603 MB / 0.497 GB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/0.1544, allocations: 11.92 kB / 0.497 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.1578, allocations: 2.895 MB / 0.4999 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.158, allocations: 144.3 kB / 0.5 GB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.517e-05/0.1581, allocations: 23.98 kB / 0.5 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.1585, allocations: 47.91 kB / 0.5001 GB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.1587, allocations: 76.83 kB / 0.5001 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/0.1588, allocations: 35.98 kB / 0.5002 GB, free: 5.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.159, allocations: 263.2 kB / 0.5004 GB, free: 5.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.159, allocations: 0 / 0.5004 GB, free: 5.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009284/0.1599, allocations: 303.9 kB / 0.5007 GB, free: 4.738 MB / 362.7 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 (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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.1601, allocations: 127.1 kB / 0.5008 GB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.1621, allocations: 1.389 MB / 0.5022 GB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1621, allocations: 0 / 0.5022 GB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.1632, allocations: 0.8439 MB / 0.503 GB, free: 2.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.1638, allocations: 106.3 kB / 0.5031 GB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1492/0.3131, allocations: 2.678 MB / 0.5057 GB, free: 66.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/0.3139, allocations: 1.11 MB / 0.5068 GB, free: 65.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005503/0.3145, allocations: 186.8 kB / 0.507 GB, free: 65.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.3147, allocations: 61.59 kB / 0.5071 GB, free: 65.33 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3147, allocations: 0 / 0.5071 GB, free: 65.33 MB / 362.7 MB Notification: Performance of Templates: time 0.01581/0.3305, allocations: 10.14 MB / 0.517 GB, free: 63.17 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)