Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.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.Lineopen,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Lineopen",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.01055/0.01056, allocations: 164.3 kB / 15.11 MB, free: 5.934 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.718/1.718, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002077/0.002077, allocations: 107.3 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.04403/0.04403, allocations: 6.922 MB / 272.6 MB, free: 11.63 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.000466, allocations: 12 kB / 323.6 MB, free: 58.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.077/0.0775, allocations: 40.44 MB / 364 MB, free: 18.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5023, allocations: 77.34 MB / 441.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5026, allocations: 68.89 kB / 441.4 MB, free: 13.72 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.4177/0.9203, allocations: 81.49 MB / 0.5106 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.9204, allocations: 0 / 0.5106 GB, free: 12.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004514/0.9209, allocations: 87.88 kB / 0.5107 GB, free: 12.79 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 646 * Number of variables: 646 Notification: Performance of Generate backend data structure: time 0.03317/0.9541, allocations: 5.32 MB / 0.5159 GB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.9542, allocations: 8.031 kB / 0.5159 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002437/0.9566, allocations: 366.5 kB / 0.5163 GB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.9588, allocations: 427 kB / 0.5167 GB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.9738, allocations: 3.094 MB / 0.5197 GB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000572/0.9745, allocations: 371.8 kB / 0.5201 GB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.976, allocations: 287.8 kB / 0.5203 GB, free: 2.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.9902, allocations: 3.544 MB / 0.5238 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.9904, allocations: 0 / 0.5238 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.9915, allocations: 108 kB / 0.5239 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.9916, allocations: 67.95 kB / 0.524 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/1.016, allocations: 3.92 MB / 0.5278 GB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3556/1.371, allocations: 11.41 MB / 0.5389 GB, free: 75.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02574/1.397, allocations: 6.245 MB / 0.545 GB, free: 73.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009887/1.398, allocations: 64.84 kB / 0.5451 GB, free: 73.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00851/1.407, allocations: 2.211 MB / 0.5473 GB, free: 73.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=335): time 8.135e-06/1.407, allocations: 0 / 0.5473 GB, free: 73.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=488): time 0.5481/1.955, allocations: 52.04 MB / 0.5981 GB, free: 70.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/1.955, allocations: 420.6 kB / 0.5985 GB, free: 69.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.966, allocations: 2.775 MB / 0.6012 GB, free: 68.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001855/1.968, allocations: 112.8 kB / 0.6013 GB, free: 68.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/1.97, allocations: 1.256 MB / 0.6025 GB, free: 67.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003312/1.973, allocations: 1.671 MB / 0.6042 GB, free: 65.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/1.974, allocations: 92 kB / 0.6042 GB, free: 65.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003292/1.975, allocations: 479.8 kB / 0.6047 GB, free: 65.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01057/1.985, allocations: 3.027 MB / 0.6077 GB, free: 62.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.997, allocations: 3.583 MB / 0.6112 GB, free: 58.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/2.009, allocations: 3.304 MB / 0.6144 GB, free: 55.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/2.009, allocations: 4 kB / 0.6144 GB, free: 55.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.1706/2.18, allocations: 17.03 MB / 0.631 GB, free: 38.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/2.18, allocations: 11.95 kB / 0.631 GB, free: 38.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/2.18, allocations: 8 kB / 0.631 GB, free: 38.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.103/2.283, allocations: 11.3 MB / 0.6421 GB, free: 26.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.297, allocations: 1.768 MB / 0.6438 GB, free: 25.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5857/2.882, allocations: 66.64 MB / 0.7089 GB, free: 69.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03342/2.916, allocations: 476 kB / 0.7093 GB, free: 69.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00613/2.922, allocations: 159.9 kB / 0.7095 GB, free: 69.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 306 * 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,(14,68.4%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.009404/2.932, allocations: 0.7904 MB / 0.7103 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002411/2.934, allocations: 366.1 kB / 0.7106 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.175/3.109, allocations: 15.99 MB / 0.7262 GB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/3.109, allocations: 46.94 kB / 0.7263 GB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/3.109, allocations: 21.72 kB / 0.7263 GB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001714/3.109, allocations: 28.27 kB / 0.7263 GB, free: 65.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1637/3.273, allocations: 23.19 MB / 0.749 GB, free: 57.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-05/3.273, allocations: 5 kB / 0.749 GB, free: 57.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006129/3.279, allocations: 0.5065 MB / 0.7495 GB, free: 57.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08395/3.363, allocations: 9.022 MB / 0.7583 GB, free: 56.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002174/3.366, allocations: 158.8 kB / 0.7584 GB, free: 55.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.171/3.537, allocations: 34.44 MB / 0.792 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/3.537, allocations: 0 / 0.792 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1747/3.711, allocations: 20.07 MB / 0.8116 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006286/3.718, allocations: 1.238 MB / 0.8129 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004173/3.722, allocations: 124 kB / 0.813 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01333/3.735, allocations: 452.1 kB / 0.8134 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003647/3.739, allocations: 417.1 kB / 0.8138 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001488/3.741, allocations: 155.9 kB / 0.814 GB, free: 7.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009916/3.751, allocations: 2.234 MB / 0.8161 GB, free: 5.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.61e-07/3.751, allocations: 0 / 0.8161 GB, free: 5.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.012/3.763, allocations: 1.842 MB / 0.8179 GB, free: 3.578 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: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 268 * 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 {(14,63.3%) 100} * Non-linear torn systems: 1 {14 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.446/4.209, allocations: 21.08 MB / 0.8385 GB, free: 74.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05276/4.262, allocations: 11.76 MB / 0.85 GB, free: 73.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/4.262, allocations: 5.031 kB / 0.85 GB, free: 73.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02434/4.286, allocations: 5.634 MB / 0.8555 GB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00726/4.293, allocations: 446.5 kB / 0.8559 GB, free: 72.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06083/4.354, allocations: 19.11 MB / 0.8746 GB, free: 62.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004074/4.358, allocations: 2.42 MB / 0.877 GB, free: 61.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004097/4.362, allocations: 470.7 kB / 0.8774 GB, free: 61.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005301/4.368, allocations: 1.521 MB / 0.8789 GB, free: 60.53 MB / 378.7 MB Notification: Performance of SimCode: time 3.417e-06/4.368, allocations: 0 / 0.8789 GB, free: 60.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7859/5.154, allocations: 166.4 MB / 1.041 GB, free: 61.28 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/5.154, allocations: 197.5 kB / 1.042 GB, free: 61.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/14.15, allocations: 0 / 1.042 GB, free: 61.04 MB / 394.7 MB