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.01427/0.01427, allocations: 165.8 kB / 15.11 MB, free: 5.977 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.968/1.968, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.00204/0.00204, allocations: 106.2 kB / 226.2 MB, free: 10.11 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.04552/0.04552, allocations: 6.933 MB / 272.6 MB, free: 11.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004936, allocations: 11.98 kB / 323.6 MB, free: 58.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08308, allocations: 40.42 MB / 364 MB, free: 18.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.4821, allocations: 76.19 MB / 440.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4825, allocations: 73.23 kB / 440.3 MB, free: 13.89 MB / 282.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-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.41/0.8925, allocations: 77.97 MB / 0.5061 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.538e-06/0.8926, allocations: 0 / 0.5061 GB, free: 1.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006289/0.8933, allocations: 83.88 kB / 0.5062 GB, free: 1.52 MB / 330.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.03433/0.9276, allocations: 5.116 MB / 0.5112 GB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.9277, allocations: 8.031 kB / 0.5112 GB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002586/0.9303, allocations: 333 kB / 0.5115 GB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.9323, allocations: 403.3 kB / 0.5119 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/0.9473, allocations: 2.972 MB / 0.5148 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004952/0.9478, allocations: 304 kB / 0.5151 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.9494, allocations: 271.7 kB / 0.5153 GB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.9617, allocations: 3.314 MB / 0.5186 GB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.9618, allocations: 8 kB / 0.5186 GB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000635/0.9625, allocations: 96 kB / 0.5187 GB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/0.9626, allocations: 59.95 kB / 0.5187 GB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.9777, allocations: 3.79 MB / 0.5224 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04349/1.021, allocations: 10.63 MB / 0.5328 GB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2915/1.313, allocations: 6.081 MB / 0.5387 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.314, allocations: 52.12 kB / 0.5388 GB, free: 77.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008927/1.323, allocations: 2.157 MB / 0.5409 GB, free: 77.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=323): time 9.197e-06/1.323, allocations: 2.844 kB / 0.5409 GB, free: 77.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=466): time 0.574/1.897, allocations: 51.46 MB / 0.5911 GB, free: 74.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/1.897, allocations: 419.6 kB / 0.5915 GB, free: 74.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.908, allocations: 2.708 MB / 0.5942 GB, free: 73.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001917/1.91, allocations: 108.5 kB / 0.5943 GB, free: 73.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.911, allocations: 1.169 MB / 0.5954 GB, free: 72.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002803/1.914, allocations: 1.602 MB / 0.597 GB, free: 70.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000928/1.915, allocations: 89.94 kB / 0.5971 GB, free: 70.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002732/1.915, allocations: 472.8 kB / 0.5975 GB, free: 70.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009892/1.925, allocations: 2.924 MB / 0.6004 GB, free: 68.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.937, allocations: 3.444 MB / 0.6037 GB, free: 65.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.948, allocations: 3.196 MB / 0.6069 GB, free: 62.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/1.948, allocations: 0 / 0.6069 GB, free: 62.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.1931/2.141, allocations: 16.78 MB / 0.6233 GB, free: 45.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/2.141, allocations: 15.02 kB / 0.6233 GB, free: 45.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/2.141, allocations: 4 kB / 0.6233 GB, free: 45.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1064/2.248, allocations: 11.23 MB / 0.6342 GB, free: 34.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01354/2.261, allocations: 1.756 MB / 0.636 GB, free: 32.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5017/2.763, allocations: 64.46 MB / 0.6989 GB, free: 69.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/2.777, allocations: 458.9 kB / 0.6993 GB, free: 69.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002257/2.78, allocations: 151.6 kB / 0.6995 GB, free: 69.94 MB / 378.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 (319): * Single equations (assignments): 300 * 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.004924/2.785, allocations: 0.7556 MB / 0.7002 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002176/2.787, allocations: 350.1 kB / 0.7006 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.148/2.935, allocations: 15.73 MB / 0.7159 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/2.935, allocations: 46.16 kB / 0.716 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/2.935, allocations: 21.88 kB / 0.716 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001524/2.935, allocations: 21.75 kB / 0.716 GB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1616/3.097, allocations: 22.52 MB / 0.738 GB, free: 63.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.966e-05/3.097, allocations: 0 / 0.738 GB, free: 63.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006136/3.103, allocations: 0.4974 MB / 0.7385 GB, free: 63.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08744/3.191, allocations: 8.998 MB / 0.7473 GB, free: 61.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002018/3.193, allocations: 161.3 kB / 0.7474 GB, free: 61.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1452/3.338, allocations: 32.44 MB / 0.7791 GB, free: 39.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/3.338, allocations: 8.953 kB / 0.7791 GB, free: 39.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1631/3.501, allocations: 19.7 MB / 0.7984 GB, free: 22.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005261/3.506, allocations: 1.195 MB / 0.7995 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002687/3.509, allocations: 119.6 kB / 0.7996 GB, free: 20.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01309/3.522, allocations: 448.1 kB / 0.8001 GB, free: 20.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003797/3.526, allocations: 396.9 kB / 0.8004 GB, free: 20.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001276/3.527, allocations: 147.9 kB / 0.8006 GB, free: 19.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01005/3.538, allocations: 2.189 MB / 0.8027 GB, free: 17.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/3.538, allocations: 0 / 0.8027 GB, free: 17.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01082/3.548, allocations: 1.771 MB / 0.8045 GB, free: 16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (268): * Single equations (assignments): 266 * 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.4468/3.995, allocations: 20.7 MB / 0.8247 GB, free: 70.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05272/4.048, allocations: 11.37 MB / 0.8358 GB, free: 69.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/4.048, allocations: 3.75 kB / 0.8358 GB, free: 69.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02238/4.071, allocations: 5.356 MB / 0.841 GB, free: 68.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/4.076, allocations: 422.7 kB / 0.8414 GB, free: 68.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05892/4.135, allocations: 17.99 MB / 0.859 GB, free: 60.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/4.139, allocations: 2.332 MB / 0.8613 GB, free: 59.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003851/4.143, allocations: 454.9 kB / 0.8617 GB, free: 59.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004523/4.147, allocations: 1.426 MB / 0.8631 GB, free: 59.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.674e-06/4.147, allocations: 0 / 0.8631 GB, free: 59.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7034/4.851, allocations: 161.9 MB / 1.021 GB, free: 76.36 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/4.851, allocations: 191 kB / 1.021 GB, free: 76.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.285/14.14, allocations: 0 / 1.021 GB, free: 76.12 MB / 394.7 MB