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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo", uses=false) Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.246/0.246, allocations: 6.927 MB / 298 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 7.984 kB / 360.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 52.07 MB / 412.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.System): time 0.01029/0.1251, allocations: 10.69 MB / 423.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2538/0.379, allocations: 4.384 MB / 427.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.3827, allocations: 38.75 kB / 427.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.3845, allocations: 458 kB / 428.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.3886, allocations: 0.9885 MB / 429.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.3936, allocations: 2.227 MB / 431.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009634/0.4033, allocations: 5.726 MB / 437.1 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.4053, allocations: 0.9517 MB / 438.1 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005306/0.4106, allocations: 2.325 MB / 440.4 MB, free: 32.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005958/0.4166, allocations: 3.019 MB / 443.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.4187, allocations: 262.9 kB / 443.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4204, allocations: 266.1 kB / 444 MB, free: 32.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.4215, allocations: 1.015 MB / 445 MB, free: 31.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.4227, allocations: 0.6041 MB / 445.6 MB, free: 31.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.4265, allocations: 4.206 MB / 449.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4265, allocations: 4 kB / 449.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4265, allocations: 0 / 449.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001447/0.4267, allocations: 0 / 449.8 MB, free: 30.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 600 * Number of variables: 600 Notification: Performance of Generate backend data structure: time 0.01916/0.4459, allocations: 5.304 MB / 455.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4459, allocations: 9.406 kB / 455.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.4487, allocations: 396.6 kB / 455.5 MB, free: 28.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008145/0.4569, allocations: 2.681 MB / 458.2 MB, free: 27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.4573, allocations: 303.1 kB / 458.5 MB, free: 26.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.4587, allocations: 275.9 kB / 458.7 MB, free: 26.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007812/0.4665, allocations: 3.381 MB / 462.1 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.428e-05/0.4666, allocations: 0 / 462.1 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/0.467, allocations: 97.38 kB / 462.2 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.467, allocations: 56.53 kB / 462.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008941/0.476, allocations: 3.847 MB / 466.1 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/0.5116, allocations: 11.34 MB / 477.5 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.5245, allocations: 5.398 MB / 482.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005228/0.5298, allocations: 2.04 MB / 484.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008234/0.5307, allocations: 61.3 kB / 484.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005953/0.5367, allocations: 2.18 MB / 487.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=323): time 6.903e-06/0.5367, allocations: 0 / 487.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=455): time 0.2543/0.791, allocations: 50.14 MB / 0.5247 GB, free: 9.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002418/0.7913, allocations: 411.4 kB / 0.5251 GB, free: 9.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006759/0.7981, allocations: 2.995 MB / 0.528 GB, free: 6.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001567/0.7997, allocations: 109.7 kB / 0.5281 GB, free: 5.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.8008, allocations: 1.185 MB / 0.5293 GB, free: 4.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0023/0.8031, allocations: 1.576 MB / 0.5308 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.8036, allocations: 84 kB / 0.5309 GB, free: 3.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.8039, allocations: 467.2 kB / 0.5313 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005527/0.8094, allocations: 2.893 MB / 0.5341 GB, free: 15.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006557/0.816, allocations: 3.423 MB / 0.5375 GB, free: 12.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/0.8229, allocations: 3.163 MB / 0.5406 GB, free: 9.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.823, allocations: 0 / 0.5406 GB, free: 9.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.1045/0.9275, allocations: 16.63 MB / 0.5568 GB, free: 8.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.9278, allocations: 300.6 kB / 0.5571 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.9278, allocations: 4.875 kB / 0.5571 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05049/0.9783, allocations: 11.07 MB / 0.5679 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007118/0.9855, allocations: 1.752 MB / 0.5696 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3699/1.355, allocations: 62.89 MB / 0.631 GB, free: 83.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007871/1.363, allocations: 457.7 kB / 0.6315 GB, free: 83.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.365, allocations: 152.9 kB / 0.6316 GB, free: 83.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.365, allocations: 6.312 kB / 0.6316 GB, free: 83.06 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08591/1.451, allocations: 15.95 MB / 0.6472 GB, free: 78.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-05/1.451, allocations: 6.406 kB / 0.6472 GB, free: 78.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06663/1.518, allocations: 11.08 MB / 0.658 GB, free: 76.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/1.522, allocations: 0.6945 MB / 0.6587 GB, free: 76.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09546/1.617, allocations: 50.51 MB / 0.708 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0073/1.624, allocations: 387.6 kB / 0.7084 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.626, allocations: 151.9 kB / 0.7086 GB, free: 30.52 MB / 446.1 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.003045/1.629, allocations: 0.8219 MB / 0.7094 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.63, allocations: 347.7 kB / 0.7097 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06563/1.696, allocations: 15.57 MB / 0.7249 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-05/1.696, allocations: 51.98 kB / 0.7249 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.735e-05/1.696, allocations: 20 kB / 0.725 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001527/1.696, allocations: 19.92 kB / 0.725 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08138/1.777, allocations: 22.02 MB / 0.7465 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.697e-05/1.778, allocations: 4 kB / 0.7465 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003404/1.781, allocations: 495.3 kB / 0.747 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2983/2.079, allocations: 8.926 MB / 0.7557 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001571/2.081, allocations: 151.9 kB / 0.7558 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07154/2.152, allocations: 31.29 MB / 0.7864 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/2.152, allocations: 3.031 kB / 0.7864 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08164/2.234, allocations: 19.31 MB / 0.8052 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003594/2.238, allocations: 1.189 MB / 0.8064 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/2.239, allocations: 115.2 kB / 0.8065 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005969/2.245, allocations: 444 kB / 0.8069 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001834/2.247, allocations: 385.3 kB / 0.8073 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006346/2.248, allocations: 136 kB / 0.8074 GB, free: 101.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004815/2.253, allocations: 2.199 MB / 0.8096 GB, free: 100.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/2.253, allocations: 4.781 kB / 0.8096 GB, free: 100.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01239/2.265, allocations: 2.749 MB / 0.8123 GB, free: 100.1 MB / 462.1 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.001036/2.266, allocations: 230.8 kB / 0.8125 GB, free: 99.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0445/2.311, allocations: 18.47 MB / 0.8305 GB, free: 91.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.311, allocations: 3.656 kB / 0.8305 GB, free: 91.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01554/2.326, allocations: 5.308 MB / 0.8357 GB, free: 87.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008064/2.334, allocations: 0.5432 MB / 0.8362 GB, free: 86.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/2.36, allocations: 12.2 MB / 0.8481 GB, free: 76.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/2.362, allocations: 2.365 MB / 0.8505 GB, free: 74.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002819/2.365, allocations: 0.5769 MB / 0.851 GB, free: 74.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000914/2.366, allocations: 182.6 kB / 0.8512 GB, free: 74.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.011e-06/2.366, allocations: 0 / 0.8512 GB, free: 74.31 MB / 462.1 MB Notification: Performance of Templates: time 0.4996/2.865, allocations: 188.3 MB / 1.035 GB, free: 44.19 MB / 462.1 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)