Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.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.Linefault,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Linefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ObjectStab): time 1.903/1.903, allocations: 178.2 MB / 190.8 MB, free: 5.629 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.034e-05, allocations: 4 kB / 238.6 MB, free: 5.781 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 40.43 MB / 279 MB, free: 124 kB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4168, allocations: 77.53 MB / 356.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4171, allocations: 67.97 kB / 356.6 MB, free: 2.406 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.7444/1.162, allocations: 85.15 MB / 441.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.162, allocations: 4 kB / 441.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005565/1.162, allocations: 99.75 kB / 441.9 MB, free: 15.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.02532/1.187, allocations: 4.359 MB / 446.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/1.188, allocations: 11.97 kB / 446.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002542/1.19, allocations: 401.6 kB / 446.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/1.193, allocations: 458.6 kB / 447.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/1.204, allocations: 2.729 MB / 449.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007915/1.205, allocations: 426 kB / 450.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/1.207, allocations: 311.8 kB / 450.5 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/1.223, allocations: 3.608 MB / 454.1 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/1.223, allocations: 352 / 454.1 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/1.224, allocations: 120 kB / 454.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.028e-05/1.224, allocations: 68 kB / 454.3 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/1.239, allocations: 3.732 MB / 458.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/1.289, allocations: 12.33 MB / 470.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/1.312, allocations: 5.989 MB / 476.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006787/1.319, allocations: 2.061 MB / 478.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008343/1.32, allocations: 62.7 kB / 478.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007456/1.327, allocations: 2.126 MB / 480.6 MB, free: 8.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=352): time 8.415e-06/1.327, allocations: 4 kB / 480.6 MB, free: 8.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=569): time 0.928/2.255, allocations: 105.1 MB / 0.572 GB, free: 18.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1709/2.426, allocations: 37.09 MB / 0.6082 GB, free: 13.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007616/2.434, allocations: 2.367 MB / 0.6106 GB, free: 11.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002492/2.436, allocations: 121.7 kB / 0.6107 GB, free: 11.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002238/2.439, allocations: 1.352 MB / 0.612 GB, free: 9.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007041/2.446, allocations: 1.964 MB / 0.6139 GB, free: 8.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/2.448, allocations: 104 kB / 0.614 GB, free: 7.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005362/2.449, allocations: 0.5057 MB / 0.6145 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2876/2.737, allocations: 7.486 MB / 0.6218 GB, free: 79.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02218/2.759, allocations: 8.14 MB / 0.6298 GB, free: 78.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/2.779, allocations: 7.88 MB / 0.6375 GB, free: 78.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.566e-05/2.78, allocations: 1.031 kB / 0.6375 GB, free: 78.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.1937/2.973, allocations: 26.93 MB / 0.6638 GB, free: 76.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/2.973, allocations: 10 kB / 0.6638 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/2.973, allocations: 7.125 kB / 0.6638 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1017/3.075, allocations: 11.78 MB / 0.6753 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01709/3.092, allocations: 2.084 MB / 0.6773 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2031/3.295, allocations: 66.97 MB / 0.7427 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1159/3.411, allocations: 3.968 MB / 0.7466 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003498/3.415, allocations: 0.5135 MB / 0.7471 GB, free: 9.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (358): * Single equations (assignments): 337 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(16,68.0%) 114} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,23 87} Notification: Performance of prepare postOptimizeDAE: time 0.004531/3.419, allocations: 362.6 kB / 0.7474 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003316/3.423, allocations: 395 kB / 0.7478 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7706/4.193, allocations: 61.87 MB / 0.8082 GB, free: 63.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3455/4.539, allocations: 45.98 MB / 0.8531 GB, free: 39.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.392e-05/4.539, allocations: 24 kB / 0.8532 GB, free: 39.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001755/4.539, allocations: 27.89 kB / 0.8532 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6688/5.208, allocations: 77.9 MB / 0.9293 GB, free: 70.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.362e-05/5.208, allocations: 0 / 0.9293 GB, free: 70.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01001/5.218, allocations: 0.8151 MB / 0.9301 GB, free: 70.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2758/5.494, allocations: 35.24 MB / 0.9645 GB, free: 62.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002936/5.497, allocations: 376 kB / 0.9648 GB, free: 62.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7076/6.205, allocations: 113.8 MB / 1.076 GB, free: 75.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.186/6.391, allocations: 35.29 MB / 1.11 GB, free: 56.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3643/6.755, allocations: 59.05 MB / 1.168 GB, free: 19.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01069/6.766, allocations: 2.556 MB / 1.171 GB, free: 17.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003456/6.769, allocations: 132 kB / 1.171 GB, free: 16.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06522/6.835, allocations: 2.013 MB / 1.173 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006973/6.842, allocations: 0.7829 MB / 1.173 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002836/6.844, allocations: 363.1 kB / 1.174 GB, free: 13.83 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004586/6.849, allocations: 1.81 MB / 1.176 GB, free: 12.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.412e-06/6.849, allocations: 4 kB / 1.176 GB, free: 12.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.3388/7.188, allocations: 13.27 MB / 1.188 GB, free: 77.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 ($STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],G1.Gov.TF.x[1],G1.Exc.AVR.x[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.Gov.TF.x[1],G2.Exc.AVR.x[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.Gov.TF.x[1],G3.Exc.AVR.x[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.Gov.TF.x[1],G4.Exc.AVR.x[1],G4.Exc.WashOut.x_scaled[1],G4.Exc.Phase_Compensation1.x_scaled[1],G4.Exc.Phase_Compensation2.x_scaled[1]) * Number of discrete variables: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 285 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(16,60.2%) 114} * Non-linear torn systems: 1 {40 122} Notification: Performance of Backend phase and start with SimCode phase: time 0.3685/7.557, allocations: 60.09 MB / 1.247 GB, free: 75.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.07472/7.631, allocations: 22.78 MB / 1.269 GB, free: 56.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/7.631, allocations: 4.062 kB / 1.269 GB, free: 56.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09818/7.73, allocations: 26.42 MB / 1.295 GB, free: 32.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01409/7.744, allocations: 0.5107 MB / 1.296 GB, free: 32.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09281/7.837, allocations: 20.17 MB / 1.315 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004406/7.841, allocations: 3.408 MB / 1.319 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008317/7.849, allocations: 1.048 MB / 1.32 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01339/7.863, allocations: 3.075 MB / 1.323 GB, free: 4.461 MB / 394.7 MB Notification: Performance of SimCode: time 3.657e-06/7.863, allocations: 0 / 1.323 GB, free: 4.461 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.698/9.561, allocations: 310.4 MB / 1.626 GB, free: 92.27 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/9.562, allocations: 165.6 kB / 1.626 GB, free: 92.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/22.05, allocations: 0 / 1.626 GB, free: 92.05 MB / 426.7 MB