Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.conf.json Using package ObjectStab with version 1.1 Dev (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01565/0.01565, allocations: 165.6 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.692/1.692, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002016/0.002015, allocations: 98.53 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo): time 0.04732/0.04732, allocations: 6.926 MB / 272.6 MB, free: 11.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006521/0.0006521, allocations: 12 kB / 323.6 MB, free: 58.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1137, allocations: 40.43 MB / 364 MB, free: 18.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5158, allocations: 70.66 MB / 434.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5161, allocations: 64.14 kB / 434.7 MB, free: 15.27 MB / 282.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-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.09577/0.6119, allocations: 19.92 MB / 454.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.612, allocations: 0 / 454.7 MB, free: 8.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.133e-05/0.612, allocations: 23.16 kB / 454.7 MB, free: 8.031 MB / 282.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.007863/0.6199, allocations: 1.666 MB / 456.3 MB, free: 7.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.62, allocations: 7.656 kB / 456.3 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001014/0.621, allocations: 196.1 kB / 456.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.6216, allocations: 147.7 kB / 456.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.6236, allocations: 0.5848 MB / 457.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.6239, allocations: 213.2 kB / 457.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006688/0.6246, allocations: 131.8 kB / 457.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005328/0.63, allocations: 1.356 MB / 459 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.566e-05/0.6301, allocations: 0 / 459 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.6304, allocations: 53.12 kB / 459 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.6305, allocations: 38.17 kB / 459 MB, free: 6.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005639/0.6361, allocations: 1.488 MB / 460.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/0.6537, allocations: 4.969 MB / 465.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/0.6598, allocations: 2.48 MB / 468 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.6603, allocations: 28.25 kB / 468 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/0.6627, allocations: 0.8353 MB / 468.8 MB, free: 352 kB / 282.7 MB Notification: Performance of pre-optimization done (n=159): time 6.102e-06/0.6628, allocations: 0 / 468.8 MB, free: 352 kB / 282.7 MB Notification: Performance of matching and sorting (n=159): time 0.1325/0.7953, allocations: 12.43 MB / 481.3 MB, free: 4.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.7954, allocations: 72.66 kB / 481.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007785/0.7962, allocations: 377.1 kB / 481.7 MB, free: 3.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004499/0.7967, allocations: 49.7 kB / 481.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.7971, allocations: 448 kB / 482.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008276/0.798, allocations: 0.5106 MB / 482.7 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.7983, allocations: 32 kB / 482.7 MB, free: 2.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000257/0.7985, allocations: 394.7 kB / 483.1 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.8005, allocations: 0.5857 MB / 483.7 MB, free: 1.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.8027, allocations: 0.801 MB / 484.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.8049, allocations: 0.678 MB / 485.2 MB, free: 176 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.805, allocations: 0 / 485.2 MB, free: 176 kB / 298.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.03339/0.8384, allocations: 4.133 MB / 489.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.8384, allocations: 8 kB / 489.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.8385, allocations: 8 kB / 489.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03623/0.8747, allocations: 3.524 MB / 492.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.8761, allocations: 143.8 kB / 493 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05173/0.9278, allocations: 12.25 MB / 0.4934 GB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.93, allocations: 130.8 kB / 0.4935 GB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.9303, allocations: 51.98 kB / 0.4936 GB, free: 11.8 MB / 330.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.0008884/0.9312, allocations: 269.8 kB / 0.4939 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.9316, allocations: 94.83 kB / 0.4939 GB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03288/0.9645, allocations: 4.186 MB / 0.498 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.9646, allocations: 16 kB / 0.498 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9646, allocations: 0 / 0.498 GB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/0.9646, allocations: 7.969 kB / 0.4981 GB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04773/1.012, allocations: 5.748 MB / 0.5037 GB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/1.012, allocations: 3.984 kB / 0.5037 GB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/1.013, allocations: 99.88 kB / 0.5038 GB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03467/1.048, allocations: 3.425 MB / 0.5071 GB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000565/1.049, allocations: 27.98 kB / 0.5071 GB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04697/1.096, allocations: 11.4 MB / 0.5183 GB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.096, allocations: 0 / 0.5183 GB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03471/1.131, allocations: 4.073 MB / 0.5222 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/1.131, allocations: 171.7 kB / 0.5224 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006691/1.132, allocations: 28 kB / 0.5224 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.135, allocations: 59.88 kB / 0.5225 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.136, allocations: 142.1 kB / 0.5226 GB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/1.136, allocations: 39.94 kB / 0.5227 GB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007754/1.137, allocations: 290.9 kB / 0.5229 GB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.137, allocations: 0 / 0.5229 GB, free: 13.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003837/1.141, allocations: 0.5967 MB / 0.5235 GB, free: 12.89 MB / 362.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.04836/1.189, allocations: 4.637 MB / 0.5281 GB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01673/1.206, allocations: 2.418 MB / 0.5304 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.444e-05/1.206, allocations: 4 kB / 0.5304 GB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01319/1.219, allocations: 1.668 MB / 0.5321 GB, free: 4.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.222, allocations: 155.3 kB / 0.5322 GB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.238, allocations: 6.548 MB / 0.5386 GB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.24, allocations: 1.134 MB / 0.5397 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001311/1.241, allocations: 83.42 kB / 0.5398 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.243, allocations: 371.3 kB / 0.5401 GB, free: 11.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.064e-06/1.243, allocations: 0 / 0.5401 GB, free: 11.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4499/1.693, allocations: 45.07 MB / 0.5841 GB, free: 114.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/1.693, allocations: 182.2 kB / 0.5843 GB, free: 114.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.191/5.884, allocations: 8 kB / 0.5843 GB, free: 114.5 MB / 378.7 MB