Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.System.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo", uses=false) Using package ObjectStab with version 1.1 Dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.System,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.System") translateModel(ObjectStab.Examples.KundurHJW.System,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.System") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008072/0.008071, allocations: 165.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.543/1.543, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001656/0.001656, allocations: 102.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.03092/0.03092, allocations: 6.929 MB / 272.6 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 12 kB / 323.5 MB, free: 59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.08944, allocations: 40.42 MB / 363.9 MB, free: 18.61 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4734, allocations: 76.2 MB / 440.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4738, allocations: 68.84 kB / 440.2 MB, free: 14.42 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/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.2332/0.707, allocations: 77.96 MB / 0.506 GB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7071, allocations: 0 / 0.506 GB, free: 1.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002528/0.7073, allocations: 79.88 kB / 0.5061 GB, free: 1.66 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.02042/0.7278, allocations: 5.107 MB / 0.511 GB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.7278, allocations: 8.031 kB / 0.511 GB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.7309, allocations: 407.3 kB / 0.5114 GB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009375/0.7403, allocations: 2.979 MB / 0.5143 GB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.7407, allocations: 300 kB / 0.5146 GB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.7419, allocations: 267.8 kB / 0.5149 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/0.7486, allocations: 3.322 MB / 0.5181 GB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.7487, allocations: 0 / 0.5181 GB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003505/0.7491, allocations: 104 kB / 0.5182 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.7491, allocations: 55.95 kB / 0.5183 GB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007823/0.757, allocations: 3.79 MB / 0.522 GB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.7847, allocations: 10.63 MB / 0.5324 GB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/0.7984, allocations: 6.09 MB / 0.5383 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.7989, allocations: 54.47 kB / 0.5384 GB, free: 32 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2417/1.041, allocations: 2.154 MB / 0.5405 GB, free: 80.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=323): time 8.196e-06/1.041, allocations: 3.812 kB / 0.5405 GB, free: 80.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=466): time 0.3127/1.353, allocations: 51.45 MB / 0.5907 GB, free: 77.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/1.354, allocations: 413.1 kB / 0.5911 GB, free: 77.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009155/1.363, allocations: 2.711 MB / 0.5937 GB, free: 76.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002254/1.365, allocations: 108.5 kB / 0.5939 GB, free: 75.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.367, allocations: 1.173 MB / 0.595 GB, free: 74.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003892/1.371, allocations: 1.604 MB / 0.5966 GB, free: 73.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/1.373, allocations: 90.92 kB / 0.5967 GB, free: 73.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004858/1.373, allocations: 467.2 kB / 0.5971 GB, free: 73.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008472/1.382, allocations: 2.925 MB / 0.6 GB, free: 71.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009573/1.391, allocations: 3.446 MB / 0.6033 GB, free: 67.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/1.399, allocations: 3.192 MB / 0.6064 GB, free: 64.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.368e-05/1.399, allocations: 4 kB / 0.6064 GB, free: 64.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.09546/1.495, allocations: 16.77 MB / 0.6228 GB, free: 47.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/1.495, allocations: 8 kB / 0.6228 GB, free: 47.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/1.495, allocations: 11.95 kB / 0.6228 GB, free: 47.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05788/1.553, allocations: 11.23 MB / 0.6338 GB, free: 36.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007112/1.56, allocations: 1.756 MB / 0.6355 GB, free: 34.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3551/1.915, allocations: 64.46 MB / 0.6985 GB, free: 69.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008351/1.924, allocations: 463 kB / 0.6989 GB, free: 69.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.925, allocations: 150.1 kB / 0.6991 GB, free: 69.59 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.003116/1.928, allocations: 0.7648 MB / 0.6998 GB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.93, allocations: 352.1 kB / 0.7001 GB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07776/2.008, allocations: 15.73 MB / 0.7155 GB, free: 69.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/2.008, allocations: 46.66 kB / 0.7155 GB, free: 69.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-05/2.008, allocations: 19.59 kB / 0.7156 GB, free: 69.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001844/2.008, allocations: 22.03 kB / 0.7156 GB, free: 69.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09053/2.099, allocations: 22.52 MB / 0.7376 GB, free: 63.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.651e-05/2.099, allocations: 3.719 kB / 0.7376 GB, free: 63.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/2.103, allocations: 0.496 MB / 0.7381 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04706/2.15, allocations: 8.989 MB / 0.7468 GB, free: 62.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002718/2.152, allocations: 161.8 kB / 0.747 GB, free: 62.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08474/2.237, allocations: 32.44 MB / 0.7787 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.237, allocations: 0 / 0.7787 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0798/2.317, allocations: 19.72 MB / 0.7979 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004333/2.322, allocations: 1.195 MB / 0.7991 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/2.323, allocations: 120 kB / 0.7992 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006923/2.33, allocations: 450.6 kB / 0.7996 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002049/2.332, allocations: 389 kB / 0.8 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005534/2.333, allocations: 147.9 kB / 0.8002 GB, free: 22.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005506/2.338, allocations: 2.194 MB / 0.8023 GB, free: 20.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/2.338, allocations: 0 / 0.8023 GB, free: 20.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008738/2.347, allocations: 1.771 MB / 0.804 GB, free: 18.76 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.001024/2.348, allocations: 235 kB / 0.8042 GB, free: 18.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02824/2.376, allocations: 11.37 MB / 0.8154 GB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.376, allocations: 1.75 kB / 0.8154 GB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2263/2.603, allocations: 5.355 MB / 0.8206 GB, free: 74.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004794/2.607, allocations: 421.6 kB / 0.821 GB, free: 74.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03354/2.641, allocations: 12.47 MB / 0.8332 GB, free: 71.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/2.645, allocations: 2.331 MB / 0.8354 GB, free: 70.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003695/2.649, allocations: 458.6 kB / 0.8359 GB, free: 70.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/2.65, allocations: 189.8 kB / 0.8361 GB, free: 70.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/2.65, allocations: 2.438 kB / 0.8361 GB, free: 70.61 MB / 378.7 MB Notification: Performance of Templates: time 0.4289/3.079, allocations: 133.1 MB / 0.9661 GB, free: 90.52 MB / 394.7 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.System.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.System.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.System -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe 2>&1)