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/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_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/Complex 3.2.2+maint.om/package.mo): time 0.001088/0.001088, 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.151/1.151, allocations: 194.2 MB / 212.2 MB, free: 2.359 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.001661/0.001661, allocations: 108.9 kB / 256.6 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1671/0.1671, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06931/0.07048, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.005894/0.07641, allocations: 7.614 MB / 461.6 MB, free: 8.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.08062, allocations: 4.542 MB / 466.1 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.08099, allocations: 15.94 kB / 466.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.08282, allocations: 0.9764 MB / 467.1 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.08489, allocations: 1.145 MB / 468.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.0856, allocations: 291.3 kB / 468.6 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.08736, allocations: 2.584 MB / 471.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.08839, allocations: 0.6528 MB / 471.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.08925, allocations: 0.5172 MB / 472.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008565/0.09012, allocations: 0.7321 MB / 473 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.463e-05/0.0902, allocations: 48 kB / 473.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.09256, allocations: 1.613 MB / 474.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.09296, allocations: 474.8 kB / 475.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.09335, allocations: 417.9 kB / 475.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.09509, allocations: 1.527 MB / 477.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.09511, allocations: 3.938 kB / 477.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.09511, allocations: 0 / 477.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.09513, allocations: 0 / 477.1 MB, free: 9.359 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.001435/0.09657, allocations: 1.128 MB / 478.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.09661, allocations: 16.02 kB / 478.3 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.09984, allocations: 383.4 kB / 478.6 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.1006, allocations: 482.6 kB / 479.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.1006, allocations: 54.36 kB / 479.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1007, allocations: 68.38 kB / 479.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1023, allocations: 1.18 MB / 480.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.1023, allocations: 7.938 kB / 480.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.1024, allocations: 27.98 kB / 480.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/0.1025, allocations: 69.95 kB / 480.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.1041, allocations: 1.241 MB / 481.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/0.109, allocations: 3.511 MB / 485.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.1105, allocations: 1.066 MB / 486.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/0.1113, allocations: 0.6567 MB / 487 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.1114, allocations: 16.91 kB / 487 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1114, allocations: 43.56 kB / 487 MB, free: 15.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 4.299e-06/0.1114, allocations: 0 / 487 MB, free: 15.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.00606/0.1175, allocations: 3.091 MB / 490.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1176, allocations: 90.11 kB / 490.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1179, allocations: 365.5 kB / 490.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.118, allocations: 41.7 kB / 490.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1182, allocations: 316.2 kB / 490.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.1184, allocations: 315.4 kB / 491.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.1187, allocations: 162.6 kB / 491.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1188, allocations: 366.8 kB / 491.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.1194, allocations: 469.7 kB / 492.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.1201, allocations: 0.5734 MB / 492.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.1215, allocations: 1.109 MB / 493.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1215, allocations: 0 / 493.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002263/0.1238, allocations: 1.477 MB / 495.4 MB, free: 6.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1239, allocations: 8 kB / 495.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.1239, allocations: 8.188 kB / 495.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008872/0.1248, allocations: 340.6 kB / 495.7 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.1255, allocations: 179.7 kB / 495.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/0.1301, allocations: 3.849 MB / 499.7 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.1307, allocations: 47.95 kB / 499.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.1308, allocations: 39.92 kB / 499.8 MB, free: 2.07 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.0003867/0.1312, allocations: 297.5 kB / 0.4884 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1313, allocations: 67.23 kB / 0.4885 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.1338, allocations: 1.563 MB / 0.49 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1338, allocations: 11.94 kB / 0.49 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1338, allocations: 8 kB / 0.49 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.1339, allocations: 3.984 kB / 0.49 GB, free: 108 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.00461/0.1385, allocations: 3.032 MB / 0.493 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.1385, allocations: 7.984 kB / 0.493 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.1391, allocations: 163.8 kB / 0.4931 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007655/0.1399, allocations: 288 kB / 0.4934 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.1399, allocations: 24 kB / 0.4934 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004309/0.1443, allocations: 3.61 MB / 0.497 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.1443, allocations: 7.938 kB / 0.497 GB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.1477, allocations: 2.891 MB / 0.4998 GB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.1479, allocations: 148.3 kB / 0.4999 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.148, allocations: 32 kB / 0.5 GB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.1485, allocations: 39.91 kB / 0.5 GB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.1486, allocations: 76.83 kB / 0.5001 GB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.1487, allocations: 39.98 kB / 0.5001 GB, free: 5.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002606/0.149, allocations: 259.1 kB / 0.5004 GB, free: 5.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.149, allocations: 4 kB / 0.5004 GB, free: 5.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001039/0.15, allocations: 311.9 kB / 0.5007 GB, free: 4.797 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.0001765/0.1502, allocations: 115.1 kB / 0.5008 GB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.1522, allocations: 1.385 MB / 0.5021 GB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1522, allocations: 4 kB / 0.5021 GB, free: 3.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.1533, allocations: 0.8438 MB / 0.5029 GB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.154, allocations: 106.3 kB / 0.503 GB, free: 2.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1446/0.2986, allocations: 2.688 MB / 0.5057 GB, free: 66.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.2993, allocations: 1.11 MB / 0.5068 GB, free: 65.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000482/0.2998, allocations: 188.4 kB / 0.5069 GB, free: 65.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3, allocations: 61.86 kB / 0.507 GB, free: 65.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3, allocations: 3.938 kB / 0.507 GB, free: 65.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01544/0.3155, allocations: 10.14 MB / 0.5169 GB, free: 63.2 MB / 362.7 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)