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.01433/0.01434, allocations: 162 kB / 15.12 MB, free: 6.027 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.599/1.599, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001669/0.001669, allocations: 106.8 kB / 226.2 MB, free: 10.09 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.04419/0.04419, allocations: 6.945 MB / 272.6 MB, free: 11.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005068, allocations: 8 kB / 323.6 MB, free: 58.83 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08299, allocations: 40.43 MB / 364 MB, free: 18.44 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.007144/0.0902, allocations: 5.356 MB / 369.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.09375, allocations: 1.227 MB / 370.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.09503, allocations: 16 kB / 370.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.09545, allocations: 130.9 kB / 370.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.09737, allocations: 385.5 kB / 371.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.09916, allocations: 0.8307 MB / 371.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.1021, allocations: 1.791 MB / 373.7 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1033, allocations: 0.5561 MB / 374.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.1049, allocations: 0.8296 MB / 375.1 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.1075, allocations: 1.274 MB / 376.4 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006003/0.1082, allocations: 128 kB / 376.5 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.1087, allocations: 136 kB / 376.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.1093, allocations: 378.7 kB / 377 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.1097, allocations: 257 kB / 377.3 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.1113, allocations: 1.391 MB / 378.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1114, allocations: 0 / 378.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1114, allocations: 0 / 378.7 MB, free: 3.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.304e-05/0.1115, allocations: 0 / 378.7 MB, free: 3.703 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.009044/0.1205, allocations: 1.732 MB / 380.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1206, allocations: 12.03 kB / 380.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006874/0.1213, allocations: 202.5 kB / 380.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.1217, allocations: 138.3 kB / 380.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1229, allocations: 0.5859 MB / 381.3 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.1231, allocations: 229.3 kB / 381.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.1234, allocations: 132 kB / 381.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/0.1278, allocations: 1.382 MB / 383.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.1279, allocations: 0 / 383.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.1281, allocations: 56 kB / 383.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.1282, allocations: 35.98 kB / 383.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005234/0.1334, allocations: 1.518 MB / 384.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.1522, allocations: 5.505 MB / 390.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005824/0.158, allocations: 2.428 MB / 392.6 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.1607, allocations: 0.8743 MB / 393.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/0.1611, allocations: 33.28 kB / 393.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002538/0.1637, allocations: 0.8526 MB / 394.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of pre-optimization done (n=159): time 8.385e-06/0.1637, allocations: 0 / 394.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=159): time 0.1438/0.3076, allocations: 13.38 MB / 407.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.3077, allocations: 72.7 kB / 407.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.3085, allocations: 437.9 kB / 408.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004768/0.309, allocations: 49.7 kB / 408.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.3094, allocations: 444.4 kB / 408.7 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008512/0.3103, allocations: 0.512 MB / 409.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3105, allocations: 28 kB / 409.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002924/0.3108, allocations: 402.7 kB / 409.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.3127, allocations: 0.5896 MB / 410.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.3149, allocations: 0.8171 MB / 411.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.3172, allocations: 0.6742 MB / 411.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.3172, allocations: 4 kB / 411.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.2762/0.5935, allocations: 4.143 MB / 415.9 MB, free: 51.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.5936, allocations: 7.562 kB / 415.9 MB, free: 51.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5936, allocations: 8.141 kB / 415.9 MB, free: 51.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03541/0.6291, allocations: 3.516 MB / 419.4 MB, free: 51.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.6304, allocations: 141.8 kB / 419.6 MB, free: 51.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04859/0.679, allocations: 11.88 MB / 431.4 MB, free: 44.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.6813, allocations: 134.8 kB / 431.6 MB, free: 44.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.6816, allocations: 52.27 kB / 431.6 MB, free: 44.72 MB / 282.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.0007824/0.6824, allocations: 274.1 kB / 431.9 MB, free: 44.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.6827, allocations: 92.62 kB / 432 MB, free: 44.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03064/0.7134, allocations: 4.213 MB / 436.2 MB, free: 41.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.7135, allocations: 16 kB / 436.2 MB, free: 41.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7135, allocations: 0 / 436.2 MB, free: 41.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/0.7135, allocations: 7.969 kB / 436.2 MB, free: 41.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03333/0.7469, allocations: 5.769 MB / 442 MB, free: 35.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/0.747, allocations: 4 kB / 442 MB, free: 35.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009874/0.748, allocations: 107.8 kB / 442.1 MB, free: 35.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03245/0.7804, allocations: 3.411 MB / 445.5 MB, free: 31.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005186/0.781, allocations: 31.98 kB / 445.5 MB, free: 31.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0402/0.8212, allocations: 10.97 MB / 456.5 MB, free: 20.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8213, allocations: 0 / 456.5 MB, free: 20.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02947/0.8508, allocations: 4.068 MB / 460.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.8512, allocations: 179.6 kB / 460.8 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/0.8516, allocations: 28 kB / 460.8 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.8533, allocations: 51.98 kB / 460.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008106/0.8541, allocations: 140.2 kB / 461 MB, free: 16.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.8543, allocations: 35.98 kB / 461 MB, free: 16.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004041/0.8547, allocations: 290.9 kB / 461.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8547, allocations: 0 / 461.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002182/0.8569, allocations: 0.5928 MB / 461.9 MB, free: 15.3 MB / 282.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.02945/0.8864, allocations: 4.639 MB / 466.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00896/0.8954, allocations: 2.422 MB / 468.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8955, allocations: 0 / 468.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006803/0.9023, allocations: 1.675 MB / 470.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.904, allocations: 183.6 kB / 470.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04112/0.9452, allocations: 9.108 MB / 479.9 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.9463, allocations: 1.13 MB / 481 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007902/0.9471, allocations: 87.42 kB / 481.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.9478, allocations: 375.3 kB / 481.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9478, allocations: 3.938 kB / 481.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/1.07, allocations: 45.31 MB / 0.5145 GB, free: 14.13 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/1.071, allocations: 201.4 kB / 0.5146 GB, free: 13.88 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.118/5.189, allocations: 0 / 0.5146 GB, free: 13.88 MB / 346.7 MB