Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.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.Linefault,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Linefault",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.009726/0.009733, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.586/1.586, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001717/0.001717, allocations: 102.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.04464/0.04464, allocations: 6.926 MB / 272.6 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004864, allocations: 8 kB / 323.6 MB, free: 58.9 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08206, allocations: 40.43 MB / 364 MB, free: 18.49 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Linefault): time 0.01495/0.09708, allocations: 12.13 MB / 376.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1086, allocations: 4.744 MB / 380.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.1121, allocations: 39.88 kB / 380.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.1146, allocations: 0.5006 MB / 381.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.1201, allocations: 1.075 MB / 382.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009363/0.1295, allocations: 2.775 MB / 385.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01299/0.1425, allocations: 6.322 MB / 391.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003189/0.1458, allocations: 1.202 MB / 392.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006958/0.1528, allocations: 2.64 MB / 395.4 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008835/0.1617, allocations: 3.356 MB / 398.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002528/0.1643, allocations: 304 kB / 399.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.1666, allocations: 303.9 kB / 399.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002855/0.1695, allocations: 1.133 MB / 400.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.1718, allocations: 0.691 MB / 401.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008467/0.1803, allocations: 4.75 MB / 406 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1803, allocations: 0 / 406 MB, free: 8.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1804, allocations: 0 / 406 MB, free: 8.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002023/0.1806, allocations: 4 kB / 406 MB, free: 8.379 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: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.03889/0.2195, allocations: 5.704 MB / 411.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.2196, allocations: 8.031 kB / 411.7 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002319/0.2219, allocations: 405.5 kB / 412.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.2238, allocations: 438.8 kB / 412.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2518/0.4757, allocations: 2.859 MB / 415.4 MB, free: 47.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006435/0.4764, allocations: 421.5 kB / 415.8 MB, free: 47.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.4782, allocations: 313.1 kB / 416.1 MB, free: 47.37 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.4936, allocations: 3.802 MB / 419.9 MB, free: 45.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.192e-05/0.4938, allocations: 3.953 kB / 419.9 MB, free: 45.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007433/0.4945, allocations: 119.6 kB / 420 MB, free: 45.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/0.4946, allocations: 66.81 kB / 420.1 MB, free: 45.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.5107, allocations: 4.139 MB / 424.2 MB, free: 44.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.5579, allocations: 12.89 MB / 437.1 MB, free: 36.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01933/0.5773, allocations: 5.78 MB / 442.9 MB, free: 31.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00691/0.5843, allocations: 2.253 MB / 445.1 MB, free: 29.03 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/0.5851, allocations: 60.05 kB / 445.2 MB, free: 28.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007883/0.593, allocations: 2.325 MB / 447.5 MB, free: 26.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=352): time 8.366e-06/0.5931, allocations: 0 / 447.5 MB, free: 26.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=510): time 0.6298/1.223, allocations: 57.25 MB / 0.4929 GB, free: 1.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002603/1.223, allocations: 419.8 kB / 0.4933 GB, free: 0.8789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.236, allocations: 3.144 MB / 0.4964 GB, free: 13.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001718/1.237, allocations: 117.6 kB / 0.4965 GB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/1.239, allocations: 1.36 MB / 0.4978 GB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003479/1.243, allocations: 1.745 MB / 0.4996 GB, free: 10.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000894/1.244, allocations: 92 kB / 0.4996 GB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004348/1.244, allocations: 488.3 kB / 0.5001 GB, free: 9.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01131/1.255, allocations: 3.145 MB / 0.5032 GB, free: 6.773 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01274/1.268, allocations: 3.747 MB / 0.5068 GB, free: 2.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/1.281, allocations: 3.439 MB / 0.5102 GB, free: 15.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/1.281, allocations: 0 / 0.5102 GB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=608) (initialization): time 0.177/1.458, allocations: 17.65 MB / 0.5274 GB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/1.458, allocations: 8 kB / 0.5274 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.459, allocations: 8.062 kB / 0.5274 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1089/1.567, allocations: 11.73 MB / 0.5389 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0141/1.582, allocations: 1.76 MB / 0.5406 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4803/2.062, allocations: 68.5 MB / 0.6075 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/2.076, allocations: 483.7 kB / 0.608 GB, free: 63.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/2.078, allocations: 166.2 kB / 0.6081 GB, free: 63.55 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.004622/2.082, allocations: 0.8323 MB / 0.609 GB, free: 62.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/2.084, allocations: 386.6 kB / 0.6093 GB, free: 62.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1426/2.227, allocations: 16.59 MB / 0.6255 GB, free: 47.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.196e-05/2.227, allocations: 48 kB / 0.6256 GB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.004e-05/2.227, allocations: 24 kB / 0.6256 GB, free: 47.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001461/2.227, allocations: 23.91 kB / 0.6256 GB, free: 47.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1625/2.39, allocations: 23.98 MB / 0.649 GB, free: 23.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.363e-05/2.39, allocations: 7.953 kB / 0.649 GB, free: 23.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005958/2.396, allocations: 495.3 kB / 0.6495 GB, free: 23.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08402/2.48, allocations: 9.528 MB / 0.6588 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001825/2.482, allocations: 159.9 kB / 0.659 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4085/2.89, allocations: 36.52 MB / 0.6946 GB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.891, allocations: 0 / 0.6946 GB, free: 113.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.158/3.049, allocations: 20.76 MB / 0.7149 GB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005035/3.054, allocations: 1.286 MB / 0.7162 GB, free: 109.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00251/3.056, allocations: 122.2 kB / 0.7163 GB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01314/3.069, allocations: 457.4 kB / 0.7167 GB, free: 109.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003448/3.073, allocations: 441.8 kB / 0.7171 GB, free: 109.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001482/3.074, allocations: 153.3 kB / 0.7173 GB, free: 109.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00972/3.084, allocations: 2.284 MB / 0.7195 GB, free: 108.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.11e-07/3.084, allocations: 2.812 kB / 0.7195 GB, free: 108.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01111/3.095, allocations: 1.946 MB / 0.7214 GB, free: 108.4 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.1567/3.252, allocations: 21.45 MB / 0.7424 GB, free: 90.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05091/3.303, allocations: 12.42 MB / 0.7545 GB, free: 77.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/3.303, allocations: 0 / 0.7545 GB, free: 77.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02295/3.326, allocations: 6.017 MB / 0.7604 GB, free: 71.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00689/3.333, allocations: 0.5385 MB / 0.7609 GB, free: 71.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.276/3.609, allocations: 52.21 MB / 0.8119 GB, free: 17.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/3.612, allocations: 2.518 MB / 0.8143 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003512/3.616, allocations: 467.7 kB / 0.8148 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004105/3.62, allocations: 1.601 MB / 0.8163 GB, free: 12.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/3.62, allocations: 0 / 0.8163 GB, free: 12.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9288/4.549, allocations: 178.7 MB / 0.9908 GB, free: 118.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/4.549, allocations: 202.9 kB / 0.991 GB, free: 117.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.499/14.05, allocations: 0 / 0.991 GB, free: 117.9 MB / 394.7 MB