Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.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.Linefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Linefault") translateModel(ObjectStab.Examples.KundurHJW.Linefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Linefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 91.77 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.001193/0.001193, 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.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1677/0.1677, allocations: 6.919 MB / 298 MB, free: 3.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 360.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1104, allocations: 52.07 MB / 412.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Linefault): time 0.1958/0.3062, allocations: 12.19 MB / 424.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007633/0.3139, allocations: 4.795 MB / 429.6 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.3161, allocations: 40.19 kB / 429.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3173, allocations: 0.4993 MB / 430.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.3203, allocations: 1.083 MB / 431.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00486/0.3252, allocations: 2.528 MB / 433.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007639/0.3329, allocations: 6.333 MB / 440.1 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.3346, allocations: 1.203 MB / 441.3 MB, free: 31.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.3385, allocations: 2.599 MB / 443.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004968/0.3435, allocations: 3.379 MB / 447.3 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00178/0.3453, allocations: 303.3 kB / 447.6 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.3469, allocations: 307.4 kB / 447.9 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3482, allocations: 1.137 MB / 449 MB, free: 29.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.3495, allocations: 0.7063 MB / 449.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004824/0.3544, allocations: 4.798 MB / 454.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3544, allocations: 0.5625 kB / 454.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3544, allocations: 1.969 kB / 454.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.3546, allocations: 0 / 454.5 MB, free: 28.37 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: 720 * Number of variables: 720 Notification: Performance of Generate backend data structure: time 0.02056/0.3752, allocations: 5.745 MB / 460.3 MB, free: 26.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3752, allocations: 8.969 kB / 460.3 MB, free: 26.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.3775, allocations: 445 kB / 460.7 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00769/0.3852, allocations: 2.873 MB / 463.6 MB, free: 24.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/0.3857, allocations: 429.4 kB / 464 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.3868, allocations: 317.8 kB / 464.3 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.398, allocations: 3.866 MB / 468.2 MB, free: 22.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.3981, allocations: 0 / 468.2 MB, free: 22.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004365/0.3985, allocations: 116.4 kB / 468.3 MB, free: 22.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/0.3986, allocations: 68.84 kB / 468.4 MB, free: 22.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00979/0.4084, allocations: 4.168 MB / 472.5 MB, free: 20.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03326/0.4417, allocations: 13.04 MB / 485.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.4527, allocations: 5.781 MB / 491.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.4569, allocations: 2.253 MB / 493.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.4573, allocations: 64.12 kB / 493.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004001/0.4614, allocations: 2.334 MB / 496 MB, free: 3.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=352): time 5.35e-06/0.4614, allocations: 0 / 496 MB, free: 3.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=510): time 0.2962/0.7576, allocations: 57.26 MB / 0.5403 GB, free: 9.969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/0.7579, allocations: 413.7 kB / 0.5407 GB, free: 9.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/0.7657, allocations: 3.148 MB / 0.5438 GB, free: 6.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002098/0.7678, allocations: 121.6 kB / 0.5439 GB, free: 6.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.7694, allocations: 1.374 MB / 0.5452 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003361/0.7728, allocations: 1.739 MB / 0.5469 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.7743, allocations: 92 kB / 0.547 GB, free: 2.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004256/0.7748, allocations: 492.3 kB / 0.5475 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007473/0.7822, allocations: 3.144 MB / 0.5505 GB, free: 15.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007889/0.7902, allocations: 3.766 MB / 0.5542 GB, free: 11.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008195/0.7984, allocations: 3.44 MB / 0.5576 GB, free: 7.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/0.7984, allocations: 4 kB / 0.5576 GB, free: 7.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=608) (initialization): time 0.08765/0.8861, allocations: 17.68 MB / 0.5749 GB, free: 6.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003045/0.8864, allocations: 364 kB / 0.5752 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.8865, allocations: 8 kB / 0.5752 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3051/1.192, allocations: 11.73 MB / 0.5867 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006582/1.198, allocations: 1.776 MB / 0.5884 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1205/1.319, allocations: 68.61 MB / 0.6554 GB, free: 75.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007212/1.326, allocations: 473.6 kB / 0.6559 GB, free: 75.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.328, allocations: 172.9 kB / 0.656 GB, free: 75.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.328, allocations: 3.625 kB / 0.656 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07615/1.404, allocations: 16.98 MB / 0.6726 GB, free: 68.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.404, allocations: 12 kB / 0.6726 GB, free: 68.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04793/1.452, allocations: 11.75 MB / 0.6841 GB, free: 57.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/1.455, allocations: 0.71 MB / 0.6848 GB, free: 56.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09696/1.552, allocations: 56.21 MB / 0.7397 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/1.559, allocations: 403.6 kB / 0.7401 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/1.559, allocations: 175.8 kB / 0.7402 GB, free: 14.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 302 * 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,(16,68.0%) 114} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,23 87} Notification: Performance of prepare postOptimizeDAE: time 0.002291/1.562, allocations: 0.9085 MB / 0.7411 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/1.563, allocations: 383.2 kB / 0.7415 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.287/1.85, allocations: 16.59 MB / 0.7577 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/1.85, allocations: 52.84 kB / 0.7577 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.82e-05/1.85, allocations: 25.75 kB / 0.7578 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001468/1.85, allocations: 29.23 kB / 0.7578 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.077/1.927, allocations: 23.97 MB / 0.7812 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.429e-05/1.927, allocations: 3.094 kB / 0.7812 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/1.93, allocations: 491.3 kB / 0.7817 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04249/1.973, allocations: 9.518 MB / 0.791 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002373/1.975, allocations: 163.1 kB / 0.7911 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07901/2.054, allocations: 36.6 MB / 0.8269 GB, free: 94.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.054, allocations: 0 / 0.8269 GB, free: 94.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07325/2.128, allocations: 20.72 MB / 0.8471 GB, free: 78.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/2.131, allocations: 1.297 MB / 0.8483 GB, free: 77.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/2.132, allocations: 124 kB / 0.8485 GB, free: 77.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005206/2.137, allocations: 451.5 kB / 0.8489 GB, free: 76.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002748/2.14, allocations: 441.9 kB / 0.8493 GB, free: 76.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005451/2.14, allocations: 155 kB / 0.8495 GB, free: 76.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004139/2.145, allocations: 2.29 MB / 0.8517 GB, free: 74.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/2.145, allocations: 0 / 0.8517 GB, free: 74.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009452/2.154, allocations: 3.059 MB / 0.8547 GB, free: 70.98 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: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 258 * 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 {(16,60.2%) 114} * Non-linear torn systems: 1 {16 114} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006381/2.155, allocations: 243.5 kB / 0.8549 GB, free: 70.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04268/2.197, allocations: 20.26 MB / 0.8747 GB, free: 50.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.197, allocations: 8.25 kB / 0.8747 GB, free: 50.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01383/2.211, allocations: 6.044 MB / 0.8806 GB, free: 44.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004634/2.216, allocations: 0.5846 MB / 0.8812 GB, free: 43.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/2.241, allocations: 13.26 MB / 0.8941 GB, free: 30.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/2.244, allocations: 2.562 MB / 0.8966 GB, free: 27.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002967/2.247, allocations: 0.5973 MB / 0.8972 GB, free: 27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008442/2.247, allocations: 191.4 kB / 0.8974 GB, free: 26.81 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/2.247, allocations: 0 / 0.8974 GB, free: 26.81 MB / 462.1 MB Notification: Performance of Templates: time 0.6978/2.945, allocations: 203.5 MB / 1.096 GB, free: 121.6 MB / 478.1 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.Linefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe 2>&1)