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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.00105/0.00105, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001391/0.001391, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1744/0.1744, allocations: 38.03 MB / 329.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 66.42 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 58.05 MB / 456.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009752/0.1364, allocations: 7.421 MB / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006383/0.1428, allocations: 4.389 MB / 468.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.1434, allocations: 15.94 kB / 468.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.1462, allocations: 1.038 MB / 469.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.1494, allocations: 1.199 MB / 470.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.1504, allocations: 319.1 kB / 471.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.152, allocations: 1.406 MB / 472.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009824/0.153, allocations: 0.665 MB / 473.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1542, allocations: 0.6186 MB / 473.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.1554, allocations: 0.6697 MB / 474.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1556, allocations: 64 kB / 474.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.158, allocations: 1.333 MB / 476 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.1586, allocations: 486.8 kB / 476.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006557/0.1593, allocations: 437.9 kB / 476.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.1619, allocations: 1.438 MB / 478.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1619, allocations: 4 kB / 478.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1619, allocations: 0 / 478.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.828e-05/0.162, allocations: 0 / 478.3 MB, free: 2.512 MB / 350.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.001983/0.164, allocations: 1.132 MB / 479.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.164, allocations: 11.89 kB / 479.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.1673, allocations: 391.4 kB / 479.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008301/0.1682, allocations: 478.6 kB / 480.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.1682, allocations: 58.36 kB / 480.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.1684, allocations: 72.36 kB / 480.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.1703, allocations: 1.18 MB / 481.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.1703, allocations: 3.984 kB / 481.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/0.1704, allocations: 31.98 kB / 481.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.1705, allocations: 73.97 kB / 481.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.1725, allocations: 1.237 MB / 483 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00543/0.1779, allocations: 3.511 MB / 486.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.1796, allocations: 1.069 MB / 487.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.1805, allocations: 0.6567 MB / 488.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/0.1806, allocations: 12.98 kB / 488.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1806, allocations: 47.56 kB / 488.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 4.418e-06/0.1806, allocations: 96 / 488.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006845/0.1875, allocations: 3.091 MB / 491.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1876, allocations: 90.11 kB / 491.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.188, allocations: 365.5 kB / 491.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.1881, allocations: 41.7 kB / 491.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.1883, allocations: 308.2 kB / 492.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.1887, allocations: 311.4 kB / 492.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.1889, allocations: 162.5 kB / 492.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1891, allocations: 378.7 kB / 493 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.1898, allocations: 465.7 kB / 493.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.1906, allocations: 0.5657 MB / 494 MB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.1921, allocations: 1.109 MB / 495.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1921, allocations: 4 kB / 495.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002503/0.1946, allocations: 1.477 MB / 496.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1946, allocations: 11.28 kB / 496.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1947, allocations: 0 / 496.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009348/0.1956, allocations: 334.4 kB / 496.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.1963, allocations: 183.7 kB / 497.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/0.2023, allocations: 4.184 MB / 0.4895 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.2028, allocations: 47.89 kB / 0.4896 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.2029, allocations: 35.98 kB / 0.4896 GB, free: 10.9 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 (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.0004837/0.2034, allocations: 294.5 kB / 0.4899 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2036, allocations: 59.33 kB / 0.49 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.2065, allocations: 1.567 MB / 0.4915 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2065, allocations: 12 kB / 0.4915 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.2065, allocations: 4 kB / 0.4915 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.2065, allocations: 3.984 kB / 0.4915 GB, free: 8.945 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.005301/0.2118, allocations: 3.036 MB / 0.4945 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.2119, allocations: 7.984 kB / 0.4945 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.2125, allocations: 167.8 kB / 0.4946 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008391/0.2134, allocations: 292.9 kB / 0.4949 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.594e-05/0.2135, allocations: 24 kB / 0.4949 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005827/0.2193, allocations: 3.921 MB / 0.4988 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2193, allocations: 7.938 kB / 0.4988 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2455/0.4649, allocations: 1.585 MB / 0.5003 GB, free: 55.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.4652, allocations: 149.3 kB / 0.5005 GB, free: 55.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.4654, allocations: 22.64 kB / 0.5005 GB, free: 55.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.4659, allocations: 41.34 kB / 0.5005 GB, free: 55.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.4661, allocations: 83.64 kB / 0.5006 GB, free: 55.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.4662, allocations: 36.77 kB / 0.5006 GB, free: 55.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000317/0.4666, allocations: 255.4 kB / 0.5009 GB, free: 55.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4666, allocations: 1.438 kB / 0.5009 GB, free: 55.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4677, allocations: 311.8 kB / 0.5012 GB, free: 55.72 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 (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.0001593/0.4678, allocations: 123.1 kB / 0.5013 GB, free: 55.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003064/0.4709, allocations: 1.671 MB / 0.5029 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.4709, allocations: 1.094 kB / 0.5029 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.4725, allocations: 0.8431 MB / 0.5038 GB, free: 55.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.4734, allocations: 101.6 kB / 0.5039 GB, free: 55.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.4763, allocations: 1.804 MB / 0.5056 GB, free: 54.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.477, allocations: 1.069 MB / 0.5067 GB, free: 53.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005021/0.4775, allocations: 180.3 kB / 0.5068 GB, free: 53.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.4777, allocations: 61.59 kB / 0.5069 GB, free: 53.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4778, allocations: 0 / 0.5069 GB, free: 53.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01884/0.4966, allocations: 10.13 MB / 0.5168 GB, free: 51.44 MB / 382.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)