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.001105/0.001105, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.007799/0.007799, allocations: 173 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1819/0.1819, allocations: 6.915 MB / 298.4 MB, free: 3.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 361.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 52.07 MB / 413.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Linefault): time 0.3091/0.4408, allocations: 13.12 MB / 426.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.4517, allocations: 4.806 MB / 431.2 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/0.4556, allocations: 42.5 kB / 431.2 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.4574, allocations: 0.5192 MB / 431.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.4625, allocations: 1.195 MB / 432.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005706/0.4682, allocations: 3.179 MB / 436.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.4804, allocations: 6.976 MB / 443.1 MB, free: 29.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.4841, allocations: 1.438 MB / 444.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007285/0.4914, allocations: 2.499 MB / 447 MB, free: 28.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005845/0.4973, allocations: 3.386 MB / 450.4 MB, free: 27.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002177/0.4995, allocations: 302.9 kB / 450.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5012, allocations: 309.8 kB / 451 MB, free: 27.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.5025, allocations: 1.176 MB / 452.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004148/0.5066, allocations: 2.044 MB / 454.2 MB, free: 25.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007402/0.5141, allocations: 5.812 MB / 460 MB, free: 24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.5141, allocations: 0 / 460 MB, free: 24 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.5141, allocations: 0 / 460 MB, free: 24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.5144, allocations: 0 / 460 MB, free: 24 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.02458/0.539, allocations: 5.706 MB / 465.7 MB, free: 21.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5391, allocations: 9.031 kB / 465.8 MB, free: 21.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5424, allocations: 445.6 kB / 466.2 MB, free: 21.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.5525, allocations: 2.979 MB / 469.2 MB, free: 20.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004952/0.553, allocations: 430 kB / 469.6 MB, free: 19.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.5546, allocations: 315.8 kB / 469.9 MB, free: 19.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009389/0.564, allocations: 3.882 MB / 473.8 MB, free: 17.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/0.5641, allocations: 0 / 473.8 MB, free: 17.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.5645, allocations: 117.2 kB / 473.9 MB, free: 17.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.5646, allocations: 67.31 kB / 474 MB, free: 17.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009266/0.5739, allocations: 4.187 MB / 478.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03258/0.6065, allocations: 13.05 MB / 491.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.6185, allocations: 5.805 MB / 497 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/0.6236, allocations: 2.261 MB / 499.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007138/0.6244, allocations: 55.19 kB / 499.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006827/0.6312, allocations: 2.348 MB / 0.4899 GB, free: 12.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=352): time 8.266e-06/0.6313, allocations: 3.938 kB / 0.4899 GB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=510): time 0.3743/1.006, allocations: 57.76 MB / 0.5463 GB, free: 3.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/1.006, allocations: 423.8 kB / 0.5467 GB, free: 2.617 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008138/1.014, allocations: 3.163 MB / 0.5498 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002173/1.016, allocations: 117.7 kB / 0.5499 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.018, allocations: 1.378 MB / 0.5513 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003051/1.021, allocations: 1.737 MB / 0.553 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/1.022, allocations: 392 kB / 0.5533 GB, free: 11.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/1.022, allocations: 305.8 kB / 0.5536 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006929/1.029, allocations: 3.168 MB / 0.5567 GB, free: 8.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008159/1.037, allocations: 3.793 MB / 0.5604 GB, free: 4.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01691/1.054, allocations: 7.143 MB / 0.5674 GB, free: 13.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/1.054, allocations: 3.938 kB / 0.5674 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=608) (initialization): time 0.3817/1.436, allocations: 17.76 MB / 0.5848 GB, free: 118.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/1.436, allocations: 373.4 kB / 0.5851 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.436, allocations: 9.969 kB / 0.5851 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05722/1.493, allocations: 11.74 MB / 0.5966 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007345/1.501, allocations: 1.775 MB / 0.5983 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1312/1.632, allocations: 68.69 MB / 0.6654 GB, free: 73.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009162/1.641, allocations: 485.8 kB / 0.6659 GB, free: 73.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.643, allocations: 165 kB / 0.666 GB, free: 73.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.643, allocations: 7.406 kB / 0.666 GB, free: 73.16 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08781/1.731, allocations: 17.04 MB / 0.6827 GB, free: 57.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/1.731, allocations: 8 kB / 0.6827 GB, free: 57.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05471/1.785, allocations: 11.76 MB / 0.6942 GB, free: 46.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/1.789, allocations: 0.7139 MB / 0.6949 GB, free: 45.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1109/1.9, allocations: 56.32 MB / 0.7499 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/1.91, allocations: 399.6 kB / 0.7502 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/1.912, allocations: 167.9 kB / 0.7504 GB, free: 3.125 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 (L78_1.B3.closed,L78_1.B2.closed,L78_1.B1.closed,G4.online,G3.online,G2.online,G1.online,$whenCondition1) * 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 (not torn): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (16,114,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(6,5), (6,5), (6,5), (6,5), (23,87)} Notification: Performance of prepare postOptimizeDAE: time 0.006031/1.918, allocations: 0.9091 MB / 0.7513 GB, free: 2.211 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/1.921, allocations: 379.2 kB / 0.7516 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3483/2.269, allocations: 16.63 MB / 0.7679 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.987e-05/2.269, allocations: 50.94 kB / 0.7679 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-05/2.269, allocations: 25.84 kB / 0.768 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001555/2.27, allocations: 27.47 kB / 0.768 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0933/2.363, allocations: 24.01 MB / 0.7914 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.477e-05/2.363, allocations: 7.406 kB / 0.7914 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/2.367, allocations: 488.6 kB / 0.7919 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04823/2.415, allocations: 9.53 MB / 0.8012 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002134/2.417, allocations: 161 kB / 0.8014 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08348/2.5, allocations: 36.67 MB / 0.8372 GB, free: 87.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.5, allocations: 0.7656 kB / 0.8372 GB, free: 87.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0855/2.586, allocations: 20.79 MB / 0.8575 GB, free: 67.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003982/2.59, allocations: 1.294 MB / 0.8587 GB, free: 65.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/2.591, allocations: 124 kB / 0.8589 GB, free: 65.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006621/2.598, allocations: 451.5 kB / 0.8593 GB, free: 65.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002282/2.6, allocations: 438 kB / 0.8597 GB, free: 64.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005139/2.601, allocations: 154.1 kB / 0.8599 GB, free: 64.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005214/2.606, allocations: 2.317 MB / 0.8621 GB, free: 62.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.606, allocations: 0 / 0.8621 GB, free: 62.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01361/2.62, allocations: 3.066 MB / 0.8651 GB, free: 59.21 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(16,114,60.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,114)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/2.621, allocations: 234.4 kB / 0.8653 GB, free: 58.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04961/2.67, allocations: 20.27 MB / 0.8851 GB, free: 38.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.671, allocations: 0.6562 kB / 0.8851 GB, free: 38.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01673/2.687, allocations: 6.063 MB / 0.891 GB, free: 32.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/2.693, allocations: 0.5943 MB / 0.8916 GB, free: 31.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/2.72, allocations: 13.67 MB / 0.905 GB, free: 17.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/2.722, allocations: 2.565 MB / 0.9075 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00368/2.726, allocations: 0.5973 MB / 0.9081 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009671/2.727, allocations: 195.4 kB / 0.9083 GB, free: 14.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.382e-06/2.727, allocations: 4 kB / 0.9083 GB, free: 14.59 MB / 462.1 MB Notification: Performance of Templates: time 0.8415/3.569, allocations: 209.4 MB / 1.113 GB, free: 133.9 MB / 494.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)