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 ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01074/0.01074, allocations: 103.8 kB / 15.05 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001156/0.001155, allocations: 173.7 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.826/1.826, allocations: 170.9 MB / 187.6 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.mo): time 0.04696/0.04696, allocations: 7.011 MB / 234 MB, free: 3.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006593/0.0006596, allocations: 19.94 kB / 284.2 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3335, allocations: 40.42 MB / 324.6 MB, free: 33.1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.006361/0.34, allocations: 4.914 MB / 329.5 MB, free: 28.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.3432, allocations: 1.29 MB / 330.8 MB, free: 26.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009427/0.3442, allocations: 16 kB / 330.9 MB, free: 26.85 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.3446, allocations: 130.9 kB / 331 MB, free: 26.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.3462, allocations: 438.7 kB / 331.4 MB, free: 26.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.348, allocations: 0.8112 MB / 332.2 MB, free: 25.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.3505, allocations: 1.319 MB / 333.5 MB, free: 24.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.352, allocations: 0.56 MB / 334.1 MB, free: 23.58 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.354, allocations: 0.8259 MB / 334.9 MB, free: 22.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.3572, allocations: 1.278 MB / 336.2 MB, free: 21.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005887/0.3578, allocations: 128 kB / 336.3 MB, free: 21.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.3585, allocations: 128 kB / 336.5 MB, free: 21.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007408/0.3592, allocations: 378.8 kB / 336.8 MB, free: 20.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005139/0.3598, allocations: 249.1 kB / 337.1 MB, free: 20.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.3623, allocations: 1.396 MB / 338.5 MB, free: 19.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3624, allocations: 0 / 338.5 MB, free: 19.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3624, allocations: 4 kB / 338.5 MB, free: 19.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.3624, allocations: 0 / 338.5 MB, free: 19.2 MB / 250.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.01304/0.3755, allocations: 1.73 MB / 340.2 MB, free: 17.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/0.3756, allocations: 11.97 kB / 340.2 MB, free: 17.41 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009393/0.3765, allocations: 206.5 kB / 340.4 MB, free: 17.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.3772, allocations: 142.3 kB / 340.6 MB, free: 17.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.379, allocations: 0.5897 MB / 341.1 MB, free: 16.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.3792, allocations: 213.4 kB / 341.3 MB, free: 16.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/0.3797, allocations: 136 kB / 341.5 MB, free: 16.06 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/0.3849, allocations: 1.371 MB / 342.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.385, allocations: 0 / 342.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/0.3854, allocations: 56 kB / 342.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.3854, allocations: 32 kB / 342.9 MB, free: 14.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00605/0.3915, allocations: 1.525 MB / 344.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.4122, allocations: 5.506 MB / 350 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/0.4202, allocations: 2.498 MB / 352.5 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006082/0.4208, allocations: 33.28 kB / 352.5 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003664/0.4245, allocations: 0.8487 MB / 353.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=159): time 9.598e-06/0.4246, allocations: 0 / 353.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=159): time 0.1921/0.6167, allocations: 13.45 MB / 366.8 MB, free: 6.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6169, allocations: 68.72 kB / 366.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.618, allocations: 425.9 kB / 367.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005687/0.6187, allocations: 53.7 kB / 367.3 MB, free: 5.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/0.6193, allocations: 444.4 kB / 367.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.6207, allocations: 0.5158 MB / 368.3 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.621, allocations: 32 kB / 368.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003751/0.6214, allocations: 398.7 kB / 368.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/0.6247, allocations: 0.5936 MB / 369.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/0.6285, allocations: 0.8092 MB / 370.1 MB, free: 2.828 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.6324, allocations: 0.682 MB / 370.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.6325, allocations: 0 / 370.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.04779/0.6803, allocations: 4.143 MB / 374.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.6804, allocations: 4 kB / 374.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.6804, allocations: 11.98 kB / 375 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04998/0.7304, allocations: 3.508 MB / 378.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.7323, allocations: 151.7 kB / 378.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07667/0.8091, allocations: 12.39 MB / 391 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.8122, allocations: 134.7 kB / 391.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005488/0.8128, allocations: 51.98 kB / 391.2 MB, free: 13.59 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 () * Number of clocked 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.001323/0.8142, allocations: 273.6 kB / 391.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/0.8147, allocations: 86.88 kB / 391.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04516/0.8598, allocations: 4.209 MB / 395.7 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/0.8599, allocations: 20 kB / 395.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.86, allocations: 7.922 kB / 395.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/0.86, allocations: 3.984 kB / 395.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05069/0.9107, allocations: 5.771 MB / 401.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.9108, allocations: 0 / 401.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/0.9127, allocations: 111.8 kB / 401.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03759/0.9503, allocations: 3.418 MB / 405.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004668/0.9508, allocations: 24 kB / 405.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04623/0.9971, allocations: 11.48 MB / 416.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9971, allocations: 0 / 416.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2698/1.267, allocations: 4.062 MB / 420.6 MB, free: 81.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/1.267, allocations: 179.3 kB / 420.8 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005186/1.268, allocations: 26.25 kB / 420.8 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.27, allocations: 50.98 kB / 420.9 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/1.271, allocations: 135.9 kB / 421 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.271, allocations: 39.08 kB / 421.1 MB, free: 80.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000537/1.272, allocations: 294.6 kB / 421.3 MB, free: 80.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.272, allocations: 1.312 kB / 421.3 MB, free: 80.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002855/1.274, allocations: 0.5943 MB / 421.9 MB, free: 80.83 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 () * Number of clocked 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.03129/1.306, allocations: 4.646 MB / 426.6 MB, free: 80.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/1.316, allocations: 2.424 MB / 429 MB, free: 79.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.316, allocations: 0 / 429 MB, free: 79.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00753/1.324, allocations: 1.671 MB / 430.7 MB, free: 78.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/1.325, allocations: 145.8 kB / 430.8 MB, free: 78.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/1.333, allocations: 6.556 MB / 437.4 MB, free: 73.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/1.334, allocations: 1.13 MB / 438.5 MB, free: 72.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008108/1.335, allocations: 89.38 kB / 438.6 MB, free: 72.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/1.335, allocations: 373.8 kB / 439 MB, free: 72.28 MB / 314.7 MB Notification: Performance of SimCode: time 2.024e-06/1.335, allocations: 0 / 439 MB, free: 72.28 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.456, allocations: 45.14 MB / 484.1 MB, free: 30.03 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/1.456, allocations: 186.5 kB / 484.3 MB, free: 29.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.812/5.269, allocations: 8 kB / 484.3 MB, free: 29.79 MB / 314.7 MB