Running command: translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") Notification: Performance of loadModel(ObjectStab): time 1.621/1.621, allocations: 178.3 MB / 190.4 MB, free: 5.629 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.348e-05, allocations: 4 kB / 233.7 MB, free: 10.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 40.42 MB / 274.2 MB, free: 0.8477 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3159, allocations: 70.57 MB / 344.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.3161, allocations: 63.97 kB / 344.8 MB, free: 10.11 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/Base/wRefPin.mo:2:1-14:12:writable] Warning: Connector .ObjectStab.Base.wRefPin is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of FrontEnd - DAE generated: time 0.08865/0.4048, allocations: 19.87 MB / 364.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.4049, allocations: 0 / 364.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.648e-05/0.4049, allocations: 27.98 kB / 364.7 MB, free: 6.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005133/0.4101, allocations: 1.588 MB / 366.3 MB, free: 4.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4101, allocations: 8.031 kB / 366.3 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.4107, allocations: 146.3 kB / 366.4 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.4121, allocations: 0.578 MB / 367 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.4124, allocations: 221.5 kB / 367.2 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.4128, allocations: 128 kB / 367.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.4164, allocations: 1.303 MB / 368.7 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.4164, allocations: 3.938 kB / 368.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.4167, allocations: 56 kB / 368.7 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.4167, allocations: 35.95 kB / 368.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/0.4208, allocations: 1.442 MB / 370.2 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2031/0.624, allocations: 4.959 MB / 375.1 MB, free: 76.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.6287, allocations: 2.429 MB / 377.6 MB, free: 75.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.6308, allocations: 0.8535 MB / 378.4 MB, free: 75.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.631, allocations: 29.64 kB / 378.5 MB, free: 75.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/0.6329, allocations: 0.8133 MB / 379.3 MB, free: 74.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=159): time 6.065e-06/0.6329, allocations: 6.906 kB / 379.3 MB, free: 74.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01931/0.6522, allocations: 3.878 MB / 383.2 MB, free: 73.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.6523, allocations: 72.05 kB / 383.2 MB, free: 73.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.6529, allocations: 376.8 kB / 383.6 MB, free: 73.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.6532, allocations: 53.36 kB / 383.6 MB, free: 73.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.6535, allocations: 442.2 kB / 384.1 MB, free: 73.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005104/0.654, allocations: 0.514 MB / 384.6 MB, free: 73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.6542, allocations: 31.94 kB / 384.6 MB, free: 72.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6543, allocations: 387.2 kB / 385 MB, free: 72.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.6558, allocations: 0.5773 MB / 385.6 MB, free: 72.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.6574, allocations: 0.7734 MB / 386.4 MB, free: 71.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.659, allocations: 0.6579 MB / 387 MB, free: 71.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.648e-06/0.659, allocations: 7.688 kB / 387 MB, free: 71.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.0207/0.6798, allocations: 4.086 MB / 391.1 MB, free: 70.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6798, allocations: 7.688 kB / 391.1 MB, free: 70.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.6799, allocations: 10.33 kB / 391.1 MB, free: 70.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02236/0.7022, allocations: 3.495 MB / 394.6 MB, free: 69.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.703, allocations: 137.7 kB / 394.8 MB, free: 69.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03362/0.7367, allocations: 11.67 MB / 406.4 MB, free: 57.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.7382, allocations: 134.7 kB / 406.6 MB, free: 57.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.7385, allocations: 51.98 kB / 406.6 MB, free: 57.76 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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: 0 * Non-linear torn systems: 1 {20 76} Notification: Performance of prepare postOptimizeDAE: time 0.000374/0.7389, allocations: 176.8 kB / 406.8 MB, free: 57.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.7391, allocations: 86.91 kB / 406.9 MB, free: 57.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/0.7582, allocations: 4.153 MB / 411 MB, free: 53.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.7582, allocations: 16 kB / 411 MB, free: 53.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7582, allocations: 7.984 kB / 411 MB, free: 53.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/0.7583, allocations: 3.984 kB / 411 MB, free: 53.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/0.7801, allocations: 5.721 MB / 416.8 MB, free: 47.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.7801, allocations: 0 / 416.8 MB, free: 47.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.7808, allocations: 103.8 kB / 416.9 MB, free: 47.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02099/0.8018, allocations: 3.403 MB / 420.3 MB, free: 44.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003733/0.8022, allocations: 27.95 kB / 420.3 MB, free: 44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03025/0.8325, allocations: 10.83 MB / 431.1 MB, free: 33.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.605e-06/0.8325, allocations: 3.984 kB / 431.1 MB, free: 33.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/0.8513, allocations: 4.035 MB / 435.2 MB, free: 28.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.8516, allocations: 179.7 kB / 435.3 MB, free: 28.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.852, allocations: 20 kB / 435.4 MB, free: 28.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.8531, allocations: 55.89 kB / 435.4 MB, free: 28.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005686/0.8537, allocations: 137.9 kB / 435.6 MB, free: 28.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.8539, allocations: 36 kB / 435.6 MB, free: 28.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003935/0.8543, allocations: 289.6 kB / 435.9 MB, free: 28.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.8543, allocations: 0 / 435.9 MB, free: 28.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002025/0.8563, allocations: 0.6006 MB / 436.5 MB, free: 27.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 1 {20 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002724/0.8566, allocations: 135.1 kB / 436.6 MB, free: 27.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006665/0.8633, allocations: 2.296 MB / 438.9 MB, free: 25.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.958e-06/0.8634, allocations: 3.938 kB / 438.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005201/0.8686, allocations: 1.588 MB / 440.5 MB, free: 23.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.8698, allocations: 150.3 kB / 440.6 MB, free: 23.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.8734, allocations: 1.625 MB / 442.3 MB, free: 21.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.8741, allocations: 1.13 MB / 443.4 MB, free: 20.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006527/0.8747, allocations: 84.42 kB / 443.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.8749, allocations: 47.42 kB / 443.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.631e-06/0.8749, allocations: 4 kB / 443.5 MB, free: 20.53 MB / 314.7 MB Notification: Performance of Templates: time 0.07608/0.951, allocations: 37.63 MB / 481.2 MB, free: 15.04 MB / 346.7 MB