Running command: "" <> buildModelFMU(ObjectStab.Examples.KundurHJW.SystemPV,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_SystemPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ObjectStab): time 1.97/1.97, allocations: 178.3 MB / 190.4 MB, free: 5.637 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.499e-05, allocations: 4 kB / 233.8 MB, free: 10.14 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 40.43 MB / 274.2 MB, free: 0.7227 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4163, allocations: 70.58 MB / 344.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4167, allocations: 63.97 kB / 344.9 MB, free: 9.98 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.1021/0.5188, allocations: 19.87 MB / 364.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.26e-06/0.5189, allocations: 0 / 364.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.5189, allocations: 31.94 kB / 364.8 MB, free: 5.945 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.007074/0.526, allocations: 1.584 MB / 366.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.5261, allocations: 12.02 kB / 366.4 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005452/0.5267, allocations: 194.5 kB / 366.6 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.5271, allocations: 146.3 kB / 366.7 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.5285, allocations: 0.5819 MB / 367.3 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.5287, allocations: 217.5 kB / 367.5 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.5291, allocations: 127.9 kB / 367.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.5331, allocations: 1.315 MB / 368.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.5332, allocations: 0 / 368.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.5335, allocations: 55.98 kB / 369 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.5335, allocations: 35.95 kB / 369 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.5383, allocations: 1.439 MB / 370.5 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2588/0.7972, allocations: 4.966 MB / 375.4 MB, free: 76.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00624/0.8035, allocations: 2.435 MB / 377.9 MB, free: 75.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.8058, allocations: 0.8519 MB / 378.7 MB, free: 75.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.8061, allocations: 24.03 kB / 378.8 MB, free: 75.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002149/0.8083, allocations: 0.8129 MB / 379.6 MB, free: 74.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=159): time 5.19e-06/0.8083, allocations: 0 / 379.6 MB, free: 74.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.02947/0.8378, allocations: 3.885 MB / 383.5 MB, free: 73.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.8379, allocations: 71.58 kB / 383.5 MB, free: 73.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.8386, allocations: 376.2 kB / 383.9 MB, free: 73.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004046/0.839, allocations: 49.67 kB / 383.9 MB, free: 73.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.8393, allocations: 447.1 kB / 384.4 MB, free: 73.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006061/0.8399, allocations: 0.5079 MB / 384.9 MB, free: 72.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.8401, allocations: 31.94 kB / 384.9 MB, free: 72.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.8402, allocations: 397.4 kB / 385.3 MB, free: 72.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.8419, allocations: 0.5723 MB / 385.9 MB, free: 72.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.8438, allocations: 0.7718 MB / 386.6 MB, free: 71.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.8458, allocations: 0.6593 MB / 387.3 MB, free: 71.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.8458, allocations: 3.5 kB / 387.3 MB, free: 71.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.03063/0.8765, allocations: 4.092 MB / 391.4 MB, free: 70.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.8766, allocations: 9.109 kB / 391.4 MB, free: 70.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.8766, allocations: 7.719 kB / 391.4 MB, free: 70.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06294/0.9396, allocations: 3.496 MB / 394.9 MB, free: 68.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.9411, allocations: 145.4 kB / 395.1 MB, free: 68.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04907/0.9902, allocations: 11.66 MB / 406.7 MB, free: 57.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.9924, allocations: 138.7 kB / 406.9 MB, free: 57.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.9926, allocations: 51.98 kB / 406.9 MB, free: 57.27 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.0004149/0.993, allocations: 176.7 kB / 407.1 MB, free: 57.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.9933, allocations: 82.97 kB / 407.2 MB, free: 57.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02958/1.023, allocations: 4.155 MB / 411.3 MB, free: 52.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/1.023, allocations: 16 kB / 411.3 MB, free: 52.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.023, allocations: 0 / 411.3 MB, free: 52.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.526e-05/1.023, allocations: 7.969 kB / 411.3 MB, free: 52.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03265/1.056, allocations: 5.725 MB / 417.1 MB, free: 47.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.056, allocations: 0 / 417.1 MB, free: 47.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/1.057, allocations: 107.8 kB / 417.2 MB, free: 46.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03214/1.089, allocations: 3.402 MB / 420.6 MB, free: 43.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004218/1.089, allocations: 31.95 kB / 420.6 MB, free: 43.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0392/1.129, allocations: 10.82 MB / 431.4 MB, free: 32.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.129, allocations: 4 kB / 431.4 MB, free: 32.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02939/1.158, allocations: 4.032 MB / 435.5 MB, free: 28.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/1.158, allocations: 175.7 kB / 435.6 MB, free: 28.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/1.159, allocations: 28 kB / 435.7 MB, free: 28.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.161, allocations: 51.89 kB / 435.7 MB, free: 28.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007149/1.161, allocations: 137.9 kB / 435.8 MB, free: 28.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.161, allocations: 35.98 kB / 435.9 MB, free: 28.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003963/1.162, allocations: 289.6 kB / 436.2 MB, free: 27.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/1.162, allocations: 0 / 436.2 MB, free: 27.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00217/1.164, allocations: 0.5968 MB / 436.8 MB, free: 27.19 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.0293/1.193, allocations: 4.62 MB / 441.4 MB, free: 22.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008886/1.202, allocations: 2.308 MB / 443.7 MB, free: 20.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.202, allocations: 0 / 443.7 MB, free: 20.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007051/1.209, allocations: 1.58 MB / 445.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.211, allocations: 148.8 kB / 445.4 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/1.216, allocations: 1.809 MB / 447.2 MB, free: 16.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/1.217, allocations: 1.134 MB / 448.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007084/1.217, allocations: 84.47 kB / 448.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/1.218, allocations: 375.3 kB / 448.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/1.218, allocations: 0 / 448.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/1.335, allocations: 45.29 MB / 494.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/1.335, allocations: 161.2 kB / 494.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.834/5.169, allocations: 3.938 kB / 494.2 MB, free: 1.637 MB / 346.7 MB