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") Notification: Performance of loadModel(PowerSystems): time 2.536/2.536, allocations: 233 MB / 246.1 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.245e-05, allocations: 4 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09389, allocations: 53.23 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.502, allocations: 94.51 MB / 449.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/0.5025, allocations: 79.95 kB / 450 MB, free: 7.188 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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({}). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/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.2017/0.7042, allocations: 51.73 MB / 0.49 GB, free: 2.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.323e-06/0.7042, allocations: 0 / 0.49 GB, free: 2.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.54e-05/0.7043, allocations: 8 kB / 0.49 GB, free: 2.512 MB / 426.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.001274/0.7056, allocations: 0.6745 MB / 0.4906 GB, free: 1.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7056, allocations: 15.97 kB / 0.4907 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.7078, allocations: 127.3 kB / 0.4908 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007021/0.7085, allocations: 334.7 kB / 0.4911 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.7086, allocations: 62.62 kB / 0.4912 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-05/0.7087, allocations: 36 kB / 0.4912 GB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7099, allocations: 0.5693 MB / 0.4918 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.7099, allocations: 3.938 kB / 0.4918 GB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.71, allocations: 19.98 kB / 0.4918 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.7101, allocations: 40.75 kB / 0.4918 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.7109, allocations: 357.2 kB / 0.4922 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00367/0.7146, allocations: 2.612 MB / 0.4947 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.7156, allocations: 416 kB / 0.4951 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.7161, allocations: 206.6 kB / 0.4953 GB, free: 12.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.7161, allocations: 7.938 kB / 0.4953 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.7161, allocations: 35.62 kB / 0.4953 GB, free: 12.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.963e-06/0.7162, allocations: 0 / 0.4953 GB, free: 12.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001135/0.7173, allocations: 426.3 kB / 0.4957 GB, free: 12.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.7174, allocations: 106.8 kB / 0.4958 GB, free: 12.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.7179, allocations: 290.6 kB / 0.4961 GB, free: 11.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.7179, allocations: 29.7 kB / 0.4962 GB, free: 11.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.7182, allocations: 247.7 kB / 0.4964 GB, free: 11.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.7183, allocations: 114.3 kB / 0.4965 GB, free: 11.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.7184, allocations: 16.03 kB / 0.4965 GB, free: 11.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.7186, allocations: 342.8 kB / 0.4968 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.7189, allocations: 124.8 kB / 0.497 GB, free: 10.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.7193, allocations: 271.2 kB / 0.4972 GB, free: 10.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.7197, allocations: 181.2 kB / 0.4974 GB, free: 10.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.7197, allocations: 0 / 0.4974 GB, free: 10.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001262/0.721, allocations: 0.5348 MB / 0.4979 GB, free: 9.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.7211, allocations: 8 kB / 0.4979 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.7211, allocations: 4.594 kB / 0.4979 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.7215, allocations: 126 kB / 0.498 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.7219, allocations: 67.91 kB / 0.4981 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.7255, allocations: 2.346 MB / 0.5004 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.726, allocations: 43.53 kB / 0.5004 GB, free: 7.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.726, allocations: 23.98 kB / 0.5005 GB, free: 7.156 MB / 442.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 0.0001668/0.7262, allocations: 128.9 kB / 0.5006 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.7264, allocations: 43.47 kB / 0.5006 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.7265, allocations: 48.08 kB / 0.5007 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.7265, allocations: 4 kB / 0.5007 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7265, allocations: 11.89 kB / 0.5007 GB, free: 6.914 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-06/0.7266, allocations: 4.062 kB / 0.5007 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.7285, allocations: 0.9386 MB / 0.5016 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.059e-06/0.7285, allocations: 0 / 0.5016 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.7287, allocations: 32.05 kB / 0.5016 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/0.7291, allocations: 112.9 kB / 0.5018 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.7292, allocations: 8 kB / 0.5018 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.7327, allocations: 2.325 MB / 0.504 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.914e-06/0.7328, allocations: 0 / 0.504 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7339, allocations: 0.6723 MB / 0.5047 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.7341, allocations: 108.7 kB / 0.5048 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.7342, allocations: 8 kB / 0.5048 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.7345, allocations: 4 kB / 0.5048 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.7345, allocations: 35.86 kB / 0.5048 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.7346, allocations: 15.98 kB / 0.5049 GB, free: 2.367 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003473/0.735, allocations: 214.2 kB / 0.5051 GB, free: 2.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.735, allocations: 0 / 0.5051 GB, free: 2.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009749/0.7359, allocations: 159.7 kB / 0.5052 GB, free: 2 MB / 442.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 0.0001754/0.7361, allocations: 107.2 kB / 0.5053 GB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.7373, allocations: 497.4 kB / 0.5058 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.895e-06/0.7374, allocations: 1.312 kB / 0.5058 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.738, allocations: 318 kB / 0.5061 GB, free: 1.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.7386, allocations: 55.5 kB / 0.5061 GB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.74, allocations: 0.6026 MB / 0.5067 GB, free: 388 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.7407, allocations: 0.8942 MB / 0.5076 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.741, allocations: 66.91 kB / 0.5077 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.7411, allocations: 23.44 kB / 0.5077 GB, free: 15.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.886e-06/0.7411, allocations: 4 kB / 0.5077 GB, free: 15.37 MB / 458.7 MB Notification: Performance of Templates: time 0.01142/0.7525, allocations: 3.318 MB / 0.5109 GB, free: 12.05 MB / 458.7 MB