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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.991/1.991, allocations: 178.4 MB / 185.9 MB, free: 15.92 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.359e-05, allocations: 4 kB / 232.1 MB, free: 2.109 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09613, allocations: 40.42 MB / 272.5 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5084, allocations: 70.09 MB / 342.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.5088, allocations: 63.41 kB / 342.7 MB, free: 13.02 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.1254/0.6342, allocations: 19.74 MB / 362.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6343, allocations: 0 / 362.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.773e-05/0.6344, allocations: 28 kB / 362.4 MB, free: 12.4 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.007254/0.6416, allocations: 1.601 MB / 364 MB, free: 10.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.6417, allocations: 12.03 kB / 364 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.6425, allocations: 138.3 kB / 364.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.644, allocations: 0.5871 MB / 364.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.6442, allocations: 169.4 kB / 364.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.6446, allocations: 76 kB / 365 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004371/0.6489, allocations: 1.386 MB / 366.4 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.6526, allocations: 1.14 MB / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.6527, allocations: 0 / 367.5 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.6529, allocations: 7.938 kB / 367.5 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.653, allocations: 32 kB / 367.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01623/0.6692, allocations: 4.76 MB / 372.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.6753, allocations: 2.379 MB / 374.7 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.6779, allocations: 0.8097 MB / 375.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/0.6784, allocations: 25.3 kB / 375.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/0.6809, allocations: 0.7721 MB / 376.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=159): time 7.314e-06/0.681, allocations: 0 / 376.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=159): time 0.03039/0.7114, allocations: 3.756 MB / 380.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.7115, allocations: 68.72 kB / 380.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.7121, allocations: 333.1 kB / 380.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004157/0.7126, allocations: 25.7 kB / 380.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.713, allocations: 444.3 kB / 380.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.7137, allocations: 0.4924 MB / 381.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.7139, allocations: 3.938 kB / 381.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.7142, allocations: 394.7 kB / 381.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.7158, allocations: 0.5396 MB / 382.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.7177, allocations: 0.7509 MB / 383.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.7197, allocations: 0.631 MB / 383.7 MB, free: 9.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.7198, allocations: 0 / 383.7 MB, free: 9.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.03138/0.7511, allocations: 3.951 MB / 387.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.7513, allocations: 8 kB / 387.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.7513, allocations: 4 kB / 387.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03424/0.7855, allocations: 3.477 MB / 391.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.7869, allocations: 147.8 kB / 391.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04794/0.8348, allocations: 11.38 MB / 402.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.8372, allocations: 94.8 kB / 402.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.8375, allocations: 55.98 kB / 402.8 MB, free: 6.566 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: L78_1.T2.vb:VARIABLE(flow=false unit = "1" ) type: Real L78_2.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real L9.T.va:VARIABLE(flow=false unit = "1" ) type: Real L1011.T2.va:VARIABLE(flow=false unit = "1" ) type: Real T311.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T311.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real PV_4.T.va:VARIABLE(flow=false unit = "1" ) type: Real PV_4.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L7.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L56.T2.va:VARIABLE(flow=false unit = "1" ) type: Real PV_1.T.va:VARIABLE(flow=false unit = "1" ) type: Real PV_1.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L9.V:VARIABLE(unit = "1" ) "Voltage Amplitude" type: Real L7.V:VARIABLE(unit = "1" ) "Voltage Amplitude" type: Real T410.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T410.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real T26.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real T26.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T15.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T15.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real 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.0006339/0.8382, allocations: 164 kB / 403 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03028/0.8685, allocations: 3.756 MB / 406.8 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006578/0.8692, allocations: 90.88 kB / 406.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03655/0.9058, allocations: 3.978 MB / 410.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/0.9059, allocations: 16 kB / 410.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.9059, allocations: 3.984 kB / 410.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.205e-05/0.906, allocations: 7.938 kB / 410.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03696/0.943, allocations: 5.424 MB / 416.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.9431, allocations: 4 kB / 416.3 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009887/0.9441, allocations: 95.89 kB / 416.4 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0327/0.9768, allocations: 3.383 MB / 419.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/0.9773, allocations: 7.922 kB / 419.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04104/1.018, allocations: 10.59 MB / 430.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/1.018, allocations: 4.125 kB / 430.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02996/1.048, allocations: 3.908 MB / 434.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/1.049, allocations: 167.8 kB / 434.4 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/1.049, allocations: 0 / 434.4 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.051, allocations: 35.86 kB / 434.5 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008466/1.052, allocations: 137.8 kB / 434.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.052, allocations: 32 kB / 434.6 MB, free: 6.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004203/1.053, allocations: 255 kB / 434.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/1.053, allocations: 0 / 434.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002691/1.055, allocations: 0.5263 MB / 435.4 MB, free: 5.707 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 () * 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.03007/1.085, allocations: 4.461 MB / 439.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2499/1.335, allocations: 2.231 MB / 442.1 MB, free: 115.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.335, allocations: 0 / 442.1 MB, free: 115.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008198/1.344, allocations: 1.548 MB / 443.6 MB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.346, allocations: 123.4 kB / 443.8 MB, free: 115.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/1.352, allocations: 1.671 MB / 445.4 MB, free: 114.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.353, allocations: 1.133 MB / 446.6 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009324/1.354, allocations: 84.52 kB / 446.7 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/1.355, allocations: 375.5 kB / 447 MB, free: 113.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.355, allocations: 0 / 447 MB, free: 113.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.482, allocations: 43.04 MB / 490.1 MB, free: 91.27 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/1.482, allocations: 126.6 kB / 490.2 MB, free: 91.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.915/5.397, allocations: 4 kB / 490.2 MB, free: 91.07 MB / 362.7 MB