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 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.Linefault,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Linefault",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.01082/0.01082, allocations: 102.6 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.001173/0.001172, allocations: 173.3 kB / 15.94 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.901/1.901, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.04651/0.04651, allocations: 7.006 MB / 234 MB, free: 3.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005068, allocations: 15.94 kB / 284.2 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2771, allocations: 40.43 MB / 324.6 MB, free: 33.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Linefault): time 0.01428/0.2914, allocations: 11.37 MB / 336 MB, free: 21.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3028, allocations: 4.748 MB / 340.8 MB, free: 17.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003272/0.3061, allocations: 43.88 kB / 340.8 MB, free: 17.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.3086, allocations: 492.7 kB / 341.3 MB, free: 16.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.3141, allocations: 1.223 MB / 342.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008474/0.3227, allocations: 2.702 MB / 345.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008446/0.3311, allocations: 4.167 MB / 349.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.3337, allocations: 1.194 MB / 350.6 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005651/0.3394, allocations: 2.707 MB / 353.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006384/0.3458, allocations: 3.279 MB / 356.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0019/0.3478, allocations: 300 kB / 356.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.3493, allocations: 304 kB / 357.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.3512, allocations: 1.133 MB / 358.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.3528, allocations: 0.6871 MB / 359 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00861/0.3614, allocations: 4.742 MB / 363.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3615, allocations: 0 / 363.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.3615, allocations: 0 / 363.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002009/0.3617, allocations: 4 kB / 363.7 MB, free: 9.992 MB / 266.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.0382/0.4, allocations: 5.712 MB / 369.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4, allocations: 8.031 kB / 369.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002083/0.4021, allocations: 397.6 kB / 369.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.4039, allocations: 446.6 kB / 370.3 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.4167, allocations: 2.86 MB / 373.1 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005989/0.4174, allocations: 422.1 kB / 373.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.4188, allocations: 311.8 kB / 373.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.4329, allocations: 3.779 MB / 377.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-05/0.4331, allocations: 7.984 kB / 377.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006847/0.4337, allocations: 116 kB / 377.7 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/0.4338, allocations: 68 kB / 377.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.4502, allocations: 4.133 MB / 381.9 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/0.4999, allocations: 12.91 MB / 394.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/0.5212, allocations: 5.771 MB / 400.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008449/0.5221, allocations: 62.66 kB / 400.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008761/0.5309, allocations: 2.309 MB / 403 MB, free: 2.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=352): time 8.696e-06/0.531, allocations: 0 / 403 MB, free: 2.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=510): time 0.8559/1.387, allocations: 57.39 MB / 460.4 MB, free: 52.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.387, allocations: 415.8 kB / 460.8 MB, free: 52.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.397, allocations: 3.15 MB / 463.9 MB, free: 49.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001622/1.399, allocations: 117.7 kB / 464 MB, free: 49.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.4, allocations: 1.368 MB / 465.4 MB, free: 47.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002313/1.403, allocations: 1.73 MB / 467.1 MB, free: 46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008463/1.403, allocations: 96 kB / 467.2 MB, free: 45.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002926/1.404, allocations: 488.3 kB / 467.7 MB, free: 45.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0107/1.414, allocations: 3.133 MB / 470.8 MB, free: 42.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.425, allocations: 3.739 MB / 474.6 MB, free: 38.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.436, allocations: 3.433 MB / 478 MB, free: 34.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.436, allocations: 4 kB / 478 MB, free: 34.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=608) (initialization): time 0.1647/1.601, allocations: 17.66 MB / 495.7 MB, free: 17.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/1.601, allocations: 12 kB / 495.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/1.601, allocations: 8 kB / 495.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1016/1.702, allocations: 11.74 MB / 0.4955 GB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/1.715, allocations: 1.761 MB / 0.4973 GB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4639/2.179, allocations: 70.52 MB / 0.5661 GB, free: 94.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/2.192, allocations: 470.8 kB / 0.5666 GB, free: 94.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/2.193, allocations: 175.1 kB / 0.5668 GB, free: 94.86 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 302 * Array equations: 0 * 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.003121/2.196, allocations: 0.8252 MB / 0.5676 GB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/2.198, allocations: 389.6 kB / 0.5679 GB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1371/2.335, allocations: 16.59 MB / 0.5841 GB, free: 89.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-05/2.335, allocations: 49.19 kB / 0.5842 GB, free: 89.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/2.335, allocations: 25.25 kB / 0.5842 GB, free: 89.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/2.335, allocations: 28.75 kB / 0.5842 GB, free: 89.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1579/2.493, allocations: 23.99 MB / 0.6077 GB, free: 69.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-05/2.493, allocations: 0 / 0.6077 GB, free: 69.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005721/2.499, allocations: 494.6 kB / 0.6081 GB, free: 68.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08336/2.583, allocations: 9.527 MB / 0.6174 GB, free: 59.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001697/2.584, allocations: 163.8 kB / 0.6176 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1677/2.752, allocations: 38.15 MB / 0.6548 GB, free: 21.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.752, allocations: 3.938 kB / 0.6548 GB, free: 21.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1592/2.911, allocations: 20.75 MB / 0.6751 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004537/2.916, allocations: 1.285 MB / 0.6764 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/2.918, allocations: 124 kB / 0.6765 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01193/2.93, allocations: 455.5 kB / 0.6769 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00327/2.933, allocations: 441.9 kB / 0.6773 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009628/2.934, allocations: 155.9 kB / 0.6775 GB, free: 13.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009712/2.944, allocations: 2.29 MB / 0.6797 GB, free: 11.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.944, allocations: 3.938 kB / 0.6797 GB, free: 11.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009635/2.953, allocations: 1.941 MB / 0.6816 GB, free: 9.527 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 44 (G1.w,G1.delta,G1.lamfd,G1.lam1d,G1.lam1q,G1.lam2q,G1.Gov.TF.x_scaled[1],G1.Exc.AVR.x_scaled[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.w,G2.delta,G2.lamfd,G2.lam1d,G2.lam1q,G2.lam2q,G2.Gov.TF.x_scaled[1],G2.Exc.AVR.x_scaled[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.w,G3.delta,G3.lamfd,G3.lam1d,G3.lam1q,G3.lam2q,G3.Gov.TF.x_scaled[1],G3.Exc.AVR.x_scaled[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.w,G4.delta,G4.lamfd,G4.lam1d,G4.lam1q,G4.lam2q,G4.Gov.TF.x_scaled[1],G4.Exc.AVR.x_scaled[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 258 * 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,68.0%) 114} * Non-linear torn systems: 1 {16 114} Notification: Performance of Backend phase and start with SimCode phase: time 0.3968/3.35, allocations: 21.45 MB / 0.7026 GB, free: 116.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05051/3.401, allocations: 12.43 MB / 0.7147 GB, free: 111.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/3.401, allocations: 3.906 kB / 0.7147 GB, free: 111.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02309/3.424, allocations: 6.014 MB / 0.7206 GB, free: 108 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/3.429, allocations: 466.2 kB / 0.721 GB, free: 107.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04961/3.478, allocations: 20.36 MB / 0.7409 GB, free: 89.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/3.481, allocations: 2.51 MB / 0.7434 GB, free: 86.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003322/3.485, allocations: 467.7 kB / 0.7438 GB, free: 86.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003887/3.489, allocations: 1.608 MB / 0.7454 GB, free: 84.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.502e-06/3.489, allocations: 0 / 0.7454 GB, free: 84.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6007/4.089, allocations: 174.3 MB / 0.9156 GB, free: 43.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/4.09, allocations: 194.4 kB / 0.9158 GB, free: 42.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.344/13.43, allocations: 0 / 0.9158 GB, free: 42.86 MB / 378.7 MB