Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001114/0.001114, allocations: 183.7 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.577/1.577, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001778/0.001779, allocations: 120.6 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1601/0.1601, allocations: 37.93 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.395e-05, allocations: 4 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 53.21 MB / 443.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.3628, allocations: 93.85 MB / 0.5248 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.363, allocations: 83.95 kB / 0.5249 GB, free: 3.723 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.3266/0.6897, allocations: 51.59 MB / 0.5753 GB, free: 52.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6897, allocations: 0 / 0.5753 GB, free: 52.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6898, allocations: 8 kB / 0.5753 GB, free: 52.87 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009198/0.6907, allocations: 0.6786 MB / 0.576 GB, free: 52.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6907, allocations: 12.03 kB / 0.576 GB, free: 52.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.6923, allocations: 123.3 kB / 0.5761 GB, free: 52.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.6926, allocations: 334.4 kB / 0.5764 GB, free: 51.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.6927, allocations: 50.97 kB / 0.5765 GB, free: 51.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.6927, allocations: 20 kB / 0.5765 GB, free: 51.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003892/0.6931, allocations: 294.5 kB / 0.5768 GB, free: 51.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.6937, allocations: 0.5181 MB / 0.5773 GB, free: 50.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6937, allocations: 0 / 0.5773 GB, free: 50.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.6938, allocations: 4 kB / 0.5773 GB, free: 50.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/0.6938, allocations: 36.75 kB / 0.5773 GB, free: 50.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.6955, allocations: 2.536 MB / 0.5798 GB, free: 48.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.696, allocations: 400 kB / 0.5802 GB, free: 47.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.6962, allocations: 190.6 kB / 0.5803 GB, free: 47.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6963, allocations: 8 kB / 0.5804 GB, free: 47.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6963, allocations: 42.5 kB / 0.5804 GB, free: 47.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.6963, allocations: 3.938 kB / 0.5804 GB, free: 47.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007493/0.697, allocations: 406.3 kB / 0.5808 GB, free: 46.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6971, allocations: 114.8 kB / 0.5809 GB, free: 46.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.6973, allocations: 241.2 kB / 0.5811 GB, free: 46.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6973, allocations: 25.7 kB / 0.5812 GB, free: 46.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.6974, allocations: 255.6 kB / 0.5814 GB, free: 46.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.6975, allocations: 110.4 kB / 0.5815 GB, free: 46.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.6975, allocations: 0 / 0.5815 GB, free: 46.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.6976, allocations: 346.8 kB / 0.5818 GB, free: 45.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.6977, allocations: 112.8 kB / 0.5819 GB, free: 45.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.698, allocations: 271.1 kB / 0.5822 GB, free: 45.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.6982, allocations: 161.2 kB / 0.5824 GB, free: 45.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6982, allocations: 0 / 0.5824 GB, free: 45.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006293/0.6988, allocations: 0.5039 MB / 0.5828 GB, free: 44.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.6988, allocations: 7.953 kB / 0.5829 GB, free: 44.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6988, allocations: 8 kB / 0.5829 GB, free: 44.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.6991, allocations: 108.8 kB / 0.583 GB, free: 44.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.6994, allocations: 71.84 kB / 0.583 GB, free: 44.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.7011, allocations: 2.247 MB / 0.5852 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.7014, allocations: 31.59 kB / 0.5853 GB, free: 42.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.7014, allocations: 16 kB / 0.5853 GB, free: 42.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.799e-05/0.7015, allocations: 120.8 kB / 0.5854 GB, free: 41.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.7016, allocations: 39.59 kB / 0.5854 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.7017, allocations: 43.58 kB / 0.5855 GB, free: 41.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7017, allocations: 4 kB / 0.5855 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7017, allocations: 0 / 0.5855 GB, free: 41.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7017, allocations: 7.984 kB / 0.5855 GB, free: 41.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.7027, allocations: 0.8411 MB / 0.5863 GB, free: 40.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.7027, allocations: 3.984 kB / 0.5863 GB, free: 40.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.7028, allocations: 39.92 kB / 0.5863 GB, free: 40.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.703, allocations: 101.4 kB / 0.5864 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.7031, allocations: 0 / 0.5864 GB, free: 40.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.7047, allocations: 2.265 MB / 0.5886 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7047, allocations: 3.938 kB / 0.5887 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005263/0.7052, allocations: 0.645 MB / 0.5893 GB, free: 37.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.7053, allocations: 116.5 kB / 0.5894 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.7053, allocations: 4 kB / 0.5894 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.7055, allocations: 0 / 0.5894 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.7055, allocations: 23.97 kB / 0.5894 GB, free: 37.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.7056, allocations: 8 kB / 0.5894 GB, free: 37.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.7057, allocations: 192.6 kB / 0.5896 GB, free: 37.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7057, allocations: 0 / 0.5896 GB, free: 37.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005935/0.7063, allocations: 143.8 kB / 0.5897 GB, free: 37.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.043e-05/0.7064, allocations: 95.19 kB / 0.5898 GB, free: 37.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.707, allocations: 470.6 kB / 0.5903 GB, free: 36.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.707, allocations: 4.125 kB / 0.5903 GB, free: 36.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.7073, allocations: 329.5 kB / 0.5906 GB, free: 36.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.7077, allocations: 49.09 kB / 0.5907 GB, free: 36.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/0.7084, allocations: 0.5727 MB / 0.5912 GB, free: 35.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.7088, allocations: 0.8895 MB / 0.5921 GB, free: 34.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.7089, allocations: 67.22 kB / 0.5921 GB, free: 34.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.709, allocations: 23.44 kB / 0.5922 GB, free: 34.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.709, allocations: 0 / 0.5922 GB, free: 34.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005657/0.7146, allocations: 3.119 MB / 0.5952 GB, free: 31.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)