Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.mo) 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.966/1.966, allocations: 178.2 MB / 190.8 MB, free: 5.629 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.154e-05, allocations: 4 kB / 238.6 MB, free: 5.789 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.272, allocations: 40.42 MB / 279 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4074, allocations: 70.57 MB / 349.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4077, allocations: 67.91 kB / 349.7 MB, free: 9.402 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.373/0.7807, allocations: 19.93 MB / 369.6 MB, free: 68.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7808, allocations: 0 / 369.6 MB, free: 68.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.612e-05/0.7808, allocations: 24.22 kB / 369.6 MB, free: 68.77 MB / 298.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.006932/0.7878, allocations: 1.592 MB / 371.2 MB, free: 67.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.7878, allocations: 7.625 kB / 371.2 MB, free: 67.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006434/0.7885, allocations: 195.6 kB / 371.4 MB, free: 67.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.7889, allocations: 145.4 kB / 371.5 MB, free: 67.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.7902, allocations: 0.5849 MB / 372.1 MB, free: 67.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.7904, allocations: 213.6 kB / 372.3 MB, free: 66.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.7908, allocations: 130.1 kB / 372.5 MB, free: 66.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/0.7946, allocations: 1.335 MB / 373.8 MB, free: 66.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.7947, allocations: 7.656 kB / 373.8 MB, free: 66.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.7949, allocations: 51.75 kB / 373.9 MB, free: 66.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.795, allocations: 42.83 kB / 373.9 MB, free: 66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004405/0.7994, allocations: 1.455 MB / 375.4 MB, free: 64.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.8151, allocations: 4.97 MB / 380.3 MB, free: 59.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005692/0.8209, allocations: 2.448 MB / 382.8 MB, free: 57.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.8232, allocations: 0.8516 MB / 383.6 MB, free: 56.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.8235, allocations: 25.67 kB / 383.7 MB, free: 56.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002127/0.8257, allocations: 0.8255 MB / 384.5 MB, free: 55.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=159): time 4.939e-06/0.8257, allocations: 3.938 kB / 384.5 MB, free: 55.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=159): time 0.02926/0.855, allocations: 3.88 MB / 388.4 MB, free: 51.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.8551, allocations: 72.72 kB / 388.4 MB, free: 51.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.8557, allocations: 379.8 kB / 388.8 MB, free: 51.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004038/0.8561, allocations: 49.7 kB / 388.9 MB, free: 51.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.8564, allocations: 436.4 kB / 389.3 MB, free: 50.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005828/0.857, allocations: 0.5133 MB / 389.8 MB, free: 50.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.8571, allocations: 24 kB / 389.8 MB, free: 50.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8573, allocations: 398.7 kB / 390.2 MB, free: 49.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/0.8596, allocations: 0.5703 MB / 390.8 MB, free: 49.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.8616, allocations: 0.79 MB / 391.6 MB, free: 48.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.8634, allocations: 0.657 MB / 392.2 MB, free: 47.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.8635, allocations: 4 kB / 392.2 MB, free: 47.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.0361/0.8996, allocations: 4.113 MB / 396.3 MB, free: 43.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.8997, allocations: 8 kB / 396.3 MB, free: 43.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.8997, allocations: 7.984 kB / 396.4 MB, free: 43.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03406/0.9338, allocations: 3.5 MB / 399.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.935, allocations: 139.8 kB / 400 MB, free: 39.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04549/0.9805, allocations: 11.64 MB / 411.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.9828, allocations: 138.7 kB / 411.8 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.9831, allocations: 51.98 kB / 411.8 MB, free: 27.95 MB / 298.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.0004397/0.9835, allocations: 183.3 kB / 412 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.9838, allocations: 90.88 kB / 412.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03002/1.014, allocations: 4.145 MB / 416.2 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/1.014, allocations: 16 kB / 416.2 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.014, allocations: 11.92 kB / 416.3 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/1.014, allocations: 3.984 kB / 416.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03466/1.049, allocations: 5.723 MB / 422 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/1.049, allocations: 0 / 422 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/1.05, allocations: 99.89 kB / 422.1 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03284/1.083, allocations: 3.399 MB / 425.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004564/1.083, allocations: 28 kB / 425.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04025/1.123, allocations: 10.8 MB / 436.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.123, allocations: 4.156 kB / 436.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02983/1.153, allocations: 4.033 MB / 440.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/1.154, allocations: 183.7 kB / 440.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/1.154, allocations: 24 kB / 440.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.156, allocations: 55.88 kB / 440.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008224/1.157, allocations: 137.9 kB / 440.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.157, allocations: 36 kB / 440.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005029/1.158, allocations: 293.5 kB / 441.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.158, allocations: 4 kB / 441.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002844/1.16, allocations: 0.5967 MB / 441.7 MB, free: 13.86 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.03228/1.193, allocations: 4.621 MB / 446.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/1.203, allocations: 2.354 MB / 448.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.203, allocations: 0 / 448.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008176/1.211, allocations: 1.633 MB / 450.3 MB, free: 5.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.213, allocations: 146 kB / 450.4 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/1.219, allocations: 1.81 MB / 452.2 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/1.22, allocations: 1.126 MB / 453.3 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007999/1.221, allocations: 91.42 kB / 453.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/1.222, allocations: 371.3 kB / 453.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/1.222, allocations: 0 / 453.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/1.352, allocations: 45.41 MB / 499.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/1.352, allocations: 162.4 kB / 499.4 MB, free: 3.977 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/5.343, allocations: 3.938 kB / 499.4 MB, free: 3.973 MB / 362.7 MB