Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.System.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.System,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_System",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.0138/0.01381, 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.712/1.712, 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.001706/0.001706, allocations: 114.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.04538/0.04538, allocations: 6.934 MB / 272.6 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006452, allocations: 12 kB / 323.6 MB, free: 58.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08275, allocations: 40.43 MB / 364 MB, free: 18.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.System): time 0.01383/0.09665, allocations: 10.62 MB / 374.6 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.108, allocations: 4.347 MB / 379 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.1111, allocations: 39.81 kB / 379 MB, free: 3.445 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.1136, allocations: 453 kB / 379.5 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.1192, allocations: 0.9941 MB / 380.5 MB, free: 2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008127/0.1274, allocations: 2.466 MB / 382.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.1384, allocations: 5.719 MB / 388.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.1413, allocations: 0.9382 MB / 389.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.1478, allocations: 2.364 MB / 391.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007889/0.1558, allocations: 2.998 MB / 394.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.1582, allocations: 267.9 kB / 395.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.1606, allocations: 260 kB / 395.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002974/0.1636, allocations: 1.012 MB / 396.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.1659, allocations: 0.5975 MB / 397.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007711/0.1736, allocations: 4.142 MB / 401.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1737, allocations: 4 kB / 401.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.097e-06/0.1737, allocations: 0 / 401.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.1739, allocations: 4 kB / 401.2 MB, free: 13.16 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.0372/0.2111, allocations: 5.276 MB / 406.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.2112, allocations: 8.031 kB / 406.5 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00177/0.213, allocations: 325 kB / 406.8 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.2157, allocations: 387.3 kB / 407.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.229, allocations: 2.675 MB / 409.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005098/0.2295, allocations: 300 kB / 410.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.2311, allocations: 267.8 kB / 410.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.245, allocations: 3.318 MB / 413.7 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.061e-05/0.2451, allocations: 4 kB / 413.7 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007114/0.2458, allocations: 96 kB / 413.8 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.987e-05/0.2459, allocations: 52 kB / 413.9 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2525/0.4984, allocations: 3.819 MB / 417.7 MB, free: 48.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04168/0.5402, allocations: 11.19 MB / 428.9 MB, free: 43.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/0.5597, allocations: 5.406 MB / 434.3 MB, free: 39.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006159/0.5659, allocations: 2.042 MB / 436.3 MB, free: 38.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/0.5667, allocations: 57.81 kB / 436.4 MB, free: 38.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006883/0.5736, allocations: 2.173 MB / 438.6 MB, free: 36.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=323): time 7.373e-06/0.5737, allocations: 4 kB / 438.6 MB, free: 36.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=455): time 0.5235/1.097, allocations: 50.12 MB / 488.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002501/1.098, allocations: 411.4 kB / 489.1 MB, free: 2.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/1.11, allocations: 3.007 MB / 492.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001659/1.112, allocations: 105.7 kB / 492.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.114, allocations: 1.168 MB / 493.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003458/1.117, allocations: 1.56 MB / 494.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/1.119, allocations: 84 kB / 495 MB, free: 12.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004257/1.119, allocations: 475.1 kB / 495.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01134/1.13, allocations: 2.882 MB / 498.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/1.142, allocations: 3.419 MB / 0.49 GB, free: 5.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.155, allocations: 3.149 MB / 0.4931 GB, free: 1.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/1.155, allocations: 0 / 0.4931 GB, free: 1.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.1744/1.33, allocations: 16.62 MB / 0.5093 GB, free: 1.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/1.33, allocations: 8 kB / 0.5093 GB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/1.33, allocations: 4 kB / 0.5093 GB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1072/1.437, allocations: 11.07 MB / 0.5201 GB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/1.451, allocations: 1.736 MB / 0.5218 GB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4724/1.923, allocations: 62.77 MB / 0.5831 GB, free: 80.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01292/1.936, allocations: 466.4 kB / 0.5836 GB, free: 80.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.938, allocations: 149 kB / 0.5837 GB, free: 80.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 289 * 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,(12,61.1%) 92} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,19 65} Notification: Performance of prepare postOptimizeDAE: time 0.00382/1.942, allocations: 0.7452 MB / 0.5845 GB, free: 80.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/1.944, allocations: 347 kB / 0.5848 GB, free: 80.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1385/2.082, allocations: 15.58 MB / 0.6 GB, free: 74.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/2.082, allocations: 40 kB / 0.6 GB, free: 74.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-05/2.082, allocations: 20 kB / 0.6001 GB, free: 74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000129/2.082, allocations: 22.12 kB / 0.6001 GB, free: 74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1508/2.233, allocations: 22 MB / 0.6216 GB, free: 52.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.227e-05/2.233, allocations: 7.953 kB / 0.6216 GB, free: 52.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005839/2.239, allocations: 0.4896 MB / 0.6221 GB, free: 51.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08303/2.322, allocations: 8.93 MB / 0.6308 GB, free: 43.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001734/2.324, allocations: 151.9 kB / 0.6309 GB, free: 42.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1333/2.457, allocations: 31.32 MB / 0.6615 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.457, allocations: 0.9688 kB / 0.6615 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1513/2.609, allocations: 19.3 MB / 0.6804 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005086/2.614, allocations: 1.179 MB / 0.6815 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002483/2.616, allocations: 116 kB / 0.6816 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01258/2.629, allocations: 446.6 kB / 0.682 GB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003379/2.633, allocations: 377 kB / 0.6824 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001479/2.634, allocations: 143.9 kB / 0.6825 GB, free: 5.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01023/2.644, allocations: 2.192 MB / 0.6847 GB, free: 3.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.22e-07/2.644, allocations: 3.938 kB / 0.6847 GB, free: 3.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01038/2.655, allocations: 1.754 MB / 0.6864 GB, free: 1.746 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: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 255 * 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 {(12,61.1%) 92} * Non-linear torn systems: 1 {12 92} Notification: Performance of Backend phase and start with SimCode phase: time 0.4072/3.062, allocations: 20 MB / 0.7059 GB, free: 117.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.04828/3.11, allocations: 11.4 MB / 0.7171 GB, free: 112.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/3.11, allocations: 0 / 0.7171 GB, free: 112.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02106/3.132, allocations: 5.308 MB / 0.7222 GB, free: 110.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006893/3.139, allocations: 494.4 kB / 0.7227 GB, free: 110.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2702/3.409, allocations: 48.62 MB / 0.7702 GB, free: 62.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/3.412, allocations: 2.314 MB / 0.7725 GB, free: 60.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003542/3.415, allocations: 448.7 kB / 0.7729 GB, free: 59.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004024/3.42, allocations: 1.429 MB / 0.7743 GB, free: 58.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/3.42, allocations: 0 / 0.7743 GB, free: 58.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6245/4.044, allocations: 165.3 MB / 0.9357 GB, free: 20.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/4.044, allocations: 198.5 kB / 0.9359 GB, free: 20.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.923/12.97, allocations: 4 kB / 0.9359 GB, free: 20.46 MB / 378.7 MB